It’s been a long time since I asked a question on this website, so I decided to make a script. I did a mistake like I always make one. Here’s the script I’m into:
local r1 = Instance.new("Message")
r1.Parent = "game.workspace"
r1.Text = "Welcome to Boom-boom Admin! This script was created by Naderssrr . But since this script is in beta, there are only 2 commands you can do. They are boom-boom/shutdown and boom-boom/sabotage “reactor” . Enjoy? Give it a thumbs up! ????????"
wait(3)
r1:Remove()
local f9 = game.Players:GetPlayers()
f9.Chatted:Connect(function(msg))
if msg == "boom-boom/ShutDown" then
local e4 = Instance.New("Message",game.workspace)
e4.Text = "Shutting Down. Please wait. This can take up to 5 seconds."
wait(5)
while true do
wait(0.1)
Hi = game.Players:GetChildren()
for i = 1,#Hi do
Hi[i]:kick("The Server has been Shutdown temporarily.")
end
end
elseif msg == "boom-boom/sabotage “reactor”" then
local m = Instance.new("Message",Workspace)
m.Text = "REACTOR SABOTAGE -"
wait(0.2)
m.Text = "REACTOR SABOTAGE -M"
wait(0.2)
m.Text = "REACTOR SABOTAGE -ME"
wait(0.2)
m.Text = "REACTOR SABOTAGE -MEL"
wait(0.2)
m.Text = "REACTOR SABOTAGE -MELT"
wait(0.2)
m.Text = "REACTOR SABOTAGE -MELTD"
wait(0.2)
m.Text = "REACTOR SABOTAGE -MELTDO"
wait(0.2)
m.Text = "REACTOR SABOTAGE -MELTDOW"
wait(0.2)
m.Text = "REACTOR SABOTAGE -MELTDOWN"
wait(0.7)
m:Remove()
wait()
local sound = Instance.new("Sound")
sound.Name = "Sound"
sound.SoundId = "http://www.roblox.com/asset/?id=332186658"
sound.Volume = 3
sound.Pitch = 1
sound.Looped = true
sound.archivable = false
sound.Parent = game.Workspace
wait()
sound:play()
game.Lighting.FogEnd = 600
wait()
coroutine.wrap(function()
while true do
game.Lighting.FogColor = Color3.fromRGB(900,0,0)
wait(1.1)
game.Lighting.FogColor = Color3.fromRGB(255,255,255)
wait(1.1)
end
end)() -- do not delete those two brackets as they will make the coroutine run
local m = Instance.new("Hint", game.Workspace)
wait()
local unit = 190
wait()
for i = 1, 190 do
unit = unit - 1
m.Text = "Meltdown in" ..unit.. " Seconds"
wait(1)
end
coroutine.wrap(function()
while true do
game.Workspace.Baseplate:Destroy() -- remove() is deprecated
game.Workspace.Gravity = 0
game.Workspace.Terrain:ClearAllChildren()
game.Workspace:ClearAllChildren()
wait() -- without teh wait the loop will crash the game
end
end)()
while true do
wait(0.1)
Hi = game.Players:GetChildren()
for i = 1,#Hi do
Hi[i]:kick("The Server has been Shutdown temporarily.")
end
end
end
end)
Please help me.

1 comment
PLEASE FORMAT YOUR CODE THERES A BUTTON CALLED "LUA BLOCK" PLEASE USE IT