local msg = script.Parent.Parent.StarterGui.Ticker.Ticker.TextLabel
while true do
wait(6)
msg.Text = "Disaster: Flood"
wait(9)
msg.Text = "You have 60 seconds to build"
wait(9)
wait(60)
function Flood()
game.Workspace.Flood.Size = Vector3.new(518, 22, 521)
game.Workspace.Flood.CFrame = CFrame.new(Vector3.new(-1,10,-2.5))
end
Flood()
wait(20)
function AntiFlood()
game.Workspace.Flood.Size = Vector3.new(10, 5, 10)
game.Workspace.Flood.CFrame = CFrame.new(Vector3.new(-1,-42,-2.5))
msg.Text = "You lived!"
end
AntiFlood()
end
return
It is supposed to display a message on a gui but it isn't working and it also isn't showing any output. Anyone has any idea what I did wrong here?

5 comments
How do I put that inside a script?
Is that like a "how to use a computer" question? I'm not sure what you mean there.
Like where should I add that part of the code inside the script.
edited
Thank you!