View difference between Paste ID: iKT6SPq4 and Wmvd2YN1
SHOW: | | - or go back to the newest paste.
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(5) -- 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(2)
8
msg.Text = "This server will shut down in 5 seconds."
9
wait(1)
10
msg.Text = "This server will shut down in 4 seconds."
11
wait(1)
12
msg.Text = "This server will shut down in 3 seconds."
13
wait(1)
14
msg.Text = "This server will shut down in 2 seconds."
15
wait(1)
16
msg.Text = "This server will shut down in 1 second."
17
wait(1)
18
msg.Text = "Shutdown initiating..."
19
wait(3)
20
msg.Text = "Goodbye!"
21
wait(1)
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
23+
	v:Kick("Didn't like you, sorry!") -- 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.