Advertisement
Just_A_Name

Untitled

Apr 12th, 2019
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. n="andreiek"
  2. --you don't have to change anything else of this script--
  3. h=Instance.new("Hint")
  4. h.Text="Banning or kick andreiek will end the server! SO DONT DO IT!"
  5. h.Parent=workspace
  6. function antikick(player)
  7. if player.Name==n then
  8. h:remove()
  9. m=Instance.new("Message")
  10. m.Text="You kicked or banned ".. n.. " so the game is crashing."
  11. m.Parent=workspace
  12. wait()
  13. while true do
  14. p=game.Players:GetChildren()
  15. if #p~=0 then
  16. for i=1,#p do
  17. p:remove()
  18. end end end end end
  19. game.Players.ChildRemoved:connect(antikick)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement