Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function SendNotification(title,text,duration,...)
- game.StarterGui:SetCore("SendNotification", {
- Title = title;
- Text = text;
- Icon = "";
- Duration = duration;
- })
- end
- game.Players.ChildAdded:Connect(function(player)
- if not pcall (function()
- SendNotification("Joined.",""..player.Name.."",2.5 )
- end) then
- print ("Shid..")
- end
- end)
- game.Players.ChildRemoved:Connect(function(player)
- if not pcall (function()
- SendNotification("Left.",""..player.Name.."",2.5 )
- end) then
- print ("Shid..")
- end
- end)
Add Comment
Please, Sign In to add comment