Advertisement
UnknownRobloxPlayer

loop kill (stays when he rejoins)

Mar 11th, 2017
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2.  
  3. function onPlayerAdded(player)
  4. while true do
  5. wait(3)
  6. game.Workspace:findFirstChild("TheAssHole").Humanoid.Health = 0 -- change TheAssHole to the assholes's name
  7. end
  8. end
  9.  
  10. --When a player joins, call the onPlayerAdded function
  11. Players.PlayerAdded:connect(onPlayerAdded)
  12.  
  13. --Call onPlayerAdded for each player already in the game
  14. for _,player in pairs(Players:GetPlayers()) do
  15. onPlayerAdded(player)
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement