So, I just made this but it doesn't work!
Please can someone tell me!
function onClicked()
local h = Instance.new("Message")
h.Parent = game.Workspace
h.Text = "Attention!"
wait(5)
h.Text = "Self Destruct Activated!"
wait(5)
h.Text = "You have two minutes to evacuate!"-----You can adjust time if you wish but make sure you remove any extra wait command thingies
wait(5)
h.Text = "90 Seconds!"
local s = Instance.new("Smoke")----- This creates smoke simply for the effect!
s.Parent = game.Workspace.SDS.SBrick1----- You can add more smoke scripts by making new bricks and copying this line with new bricks name!
wait(5)
h.Text = "60 Seconds!"
wait(5)
h.Text = "45 Seconds!"
wait(5)
h.Text = "30 Seconds!"
wait(5)
h.Text = "15 Seconds!"
wait(5)
h.Text = "10 Seconds!"
wait(5)
h.Text = "5 Seconds!"
wait(5)
h.Text = "Initiating Self Destruct!"
wait(5)
s.Remove()
local e = Instance.new("Explosion")
e.Parent = game.Workspace.SDS.EBrick1
e.Remove()
wait(5)
local e = Instance.new("Explosion")
e.Parent = game.Workspace.SDS.EBrick1
e.Remove()
wait(5)
local e = Instance.new("Explosion")
e.Parent = game.Workspace.SDS.EBrick1
e.Remove()
wait(5)
h.Remove()
end
script.Parent.SelfD.MouseClick:connect(onClicked)
17:34:46.697 - Expected ':' not '.' calling member function Remove 17:34:46.698 - Script 'Workspace.SDS.SD.Script', Line 28 17:34:46.698 - Stack End
Best regards, Nathan
