Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(5) -- Wait 5 seconds after running just in case you accidentally run it and want to stop it.
- local msg = Instance.new("Message",game.Workspace) -- Make the message and put it somewhere that they can see it
- msg.Text = "TM is about to shut down the server. Please save your scripts now." -- Tell them to save, because the shutdown is about to happen
- wait(2)
- msg.Text = "This server will shut down in 5 seconds."
- wait(1)
- msg.Text = "This server will shut down in 4 seconds."
- wait(1)
- msg.Text = "This server will shut down in 3 seconds."
- wait(1)
- msg.Text = "This server will shut down in 2 seconds."
- wait(1)
- msg.Text = "This server will shut down in 1 second."
- wait(1)
- msg.Text = "Shutdown initiating..."
- wait(3)
- msg.Text = "Goodbye!"
- wait(1)
- for _,v in ipairs(game.Players) do -- For every player that is in the game...
- v:Kick("TM kicked you from the server!") -- Kick them and show a message that says they were kicked
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement