Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Starting Countdown? Please help!

You know how there's like a 5 second countdown in some games(Like Murder Mystery) before the game ACTUALLY starts? Could someone help me make a script for this?

2 comments

0

Thanks, but where exactly do I put the script?

0

Put it in Workspace for it to work.

2 answers

--GAME STARTING--
print(GameStartingMsg) --starts the msg thing
local Msg = Instance.new("Message")
Msg.Parent = game.Workspace
for a=5,1,-1 do
Msg.Text="Game is starting! "..a
wait(1)
end 
Msg.Text = "Game starting!"
wait(2)
Msg:remove()
--CLONE-- so it says the msg and it clones the map from the lighting(idk where you're map is) and the game starts :d
game.Lighting.MAPNAME:clone() --idk wat tf this is thi

1 comment

1

More efficient = +1 :)

--GAME STARTING--
print(GameStartingMsg) --starts the msg thing
local Msg = Instance.new("Message")
Msg.Parent = game.Workspace
Msg.Text = "Game starting in 5..."
wait(1)
Msg.Text = "Game starting in 4... "
wait(1)
Msg.Text = "Game starting in 3... "
wait(1)
Msg.Text = "Game starting in 2... "
wait(1)
Msg.Text = "Game starting in 1... "
wait(1)
Msg.Text = "Game starting!"
wait(2)
Msg:remove()
--CLONE-- so it says the msg and it clones the map from the lighting(idk where you're map is) and the game starts :d
game.Lighting.MAPNAME:clone() --idk wat tf this is thi

4 comments

0

Thanks, but where exactly do I put this script?

0

there i edited my answer check that

0

i'll post a more efficient one.

0

But this script in a LocalScript ant the parent must be a TextLabel an the TextLabel's parent must be a screen gui that is in the starter gui

This discussion is preserved as it was. New answers, comments, and votes are closed.