Advertisement
RiasGremory0100

Untitled

Jun 13th, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. -- Made by GlitchMasta47. Check me out on ROBLOX, Twitter, and YouTube!
  2. -- You should be running this in a Script Builder server. If you want to do this in your own game, message me on ROBLOX @GlitchMasta47
  3.  
  4. wait(0) -- Wait 5 seconds after running just in case you accidentally run it and want to stop it.
  5. local msg = Instance.new("Message",game.Workspace) -- Make the message and put it somewhere that they can see it
  6. msg.Text = "This server is about to shut down. Please save your scripts now." -- Tell them to save, because the shutdown is about to happen
  7. wait(0)
  8. msg.Text = "This server will shut down in 5 seconds."
  9. wait(0)
  10. msg.Text = "This server will shut down in 4 seconds."
  11. wait(0)
  12. msg.Text = "This server will shut down in 3 seconds."
  13. wait(0)
  14. msg.Text = "This server will shut down in 2 seconds."
  15. wait(0)
  16. msg.Text = "This server will shut down in 1 second."
  17. wait(0)
  18. msg.Text = "Shutdown initiating..."
  19. wait(0)
  20. msg.Text = "Goodbye!"
  21. wait(0)
  22. for _,v in ipairs(game.Players) do -- For every player that is in the game...
  23. v:Kick("This server has shut down due to a script that was executed. Credit to GlitchMasta47 for the script.") -- Kick them and show a message that says they were kicked
  24. end
  25.  
  26.  
  27. -- Thank you for using this, and I hope that you only use this when you have a server full of abusers.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement