SebTDZ

Item Logger

Apr 9th, 2019
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. game.Workspace.ChildAdded:connect(function(ch)
  2. wait(1)
  3. if ch:FindFirstChild("Humanoid") then
  4. game.StarterGui:SetCore("SendNotification", {
  5. Title = "Item Logger";
  6. Text = "Player Spawned: " .. ch.Name;
  7. })
  8. else
  9. game.StarterGui:SetCore("SendNotification", {
  10. Title = "Item Logger";
  11. Text = "ChildAdded: " .. ch.Name;
  12. })
  13. end
  14. end)
  15.  
  16. game.Players.ChildAdded:connect(function(ch)
  17. wait(1)
  18. game.StarterGui:SetCore("SendNotification", {
  19. Title = "Item Logger";
  20. Text = "New Player: " .. ch.Name;
  21. })
  22. end)
  23.  
  24. game.Players.ChildRemoved:connect(function(ch)
  25. wait(1)
  26. game.StarterGui:SetCore("SendNotification", {
  27. Title = "Item Logger";
  28. Text = "Removed Player: " .. ch.Name;
  29. })
  30. end)
Advertisement
Add Comment
Please, Sign In to add comment