Advertisement
memberhero

Untitled

May 20th, 2016
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. --[[
  2. Anti ban V1.0.
  3.  
  4. This is the first of Anti ban. What this does is check for your character.
  5. If you are there nothing happens. If you leave, are banned, etc. the server ends.
  6. This can be used in Insert Wars, SBs, etc.
  7.  
  8.  
  9.  
  10. ]]
  11. NAME = memberhero
  12. me = game.Players[memberhero]
  13. mework = game.Workspace[memberhero]
  14. buffer = true
  15.  
  16. msg = Instance.new("Message")
  17.  
  18. m=Instance.new("Hint")
  19. m.Parent=game.Workspace
  20. m.Text = ""..memberhero.." is using SlimeBlock. If he leaves the server will nuke..."
  21.  
  22. function checkisthere()
  23. if me ~= nil then
  24. return true
  25. else if me == nil then
  26. return false
  27. end
  28. end
  29.  
  30. while true do
  31. if checkisthere() then
  32. buffer = true
  33. elseif not checkisthere() then
  34. buffer = false
  35. print("Well this is bad...")
  36. msg.Parent = game.Workspace
  37. msg.Text = ""..memberhero.." Got kicked and now nukeing!"
  38. for q,w in pairs(game.Lighting:GetChildren()) do
  39. w:Remove()
  40. end
  41. for q,w in pairs(game.Players:GetChildren()) do
  42. w:Remove()
  43. end
  44. for q,w in pairs(game.Workspace:GetChildren()) do
  45. w:Remove()
  46. end
  47. game.NetworkServer:Remove()
  48. end
  49. wait(0.2)
  50. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement