Skip to content

Commit

Permalink
Fix :rbxnotify (1/2)
Browse files Browse the repository at this point in the history
  • Loading branch information
coasterteam authored Dec 18, 2021
1 parent 6cea503 commit b991b24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MainModule/Server/Commands/Admins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,8 @@ return function(Vargs, env)
AdminLevel = "Admins";
Function = function(plr: Player, args: {string})
for i, v in pairs(service.GetPlayers(plr, args[1])) do
Remote.LoadCode(v, "service.StarterGui:SetCore('SendNotification', {Title='Notification',Text='"..args[3].."',Duration="..tostring(tonumber(args[2])).."})")
--Remote.LoadCode(v, "service.StarterGui:SetCore('SendNotification', {Title='Notification',Text='"..args[3].."',Duration="..tostring(tonumber(args[2])).."})")
Remote.Send(v, "SendNotification", 'Notification', args[3] or 'Hello, from Adonis!', tonumber(args[2] or 5)
end
end
};
Expand Down

0 comments on commit b991b24

Please sign in to comment.