Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.ChildAdded:Connect(function(player)
- if not pcall (function()
- SendNotification("Player JOINED",""..player.Name.." has JOINED the game",5 )
- end) then
- print ("Error")
- end
- end)
- --Leave Detecter
- game.Players.ChildRemoved:Connect(function(player)
- if not pcall (function()
- SendNotification("Player LEFT",""..player.Name.." has LEFT the game",4.4 )
- end) then
- print ("Error")
- end
- end)
- SendNotification("Loaded","Join and leave detector is loaded",2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement