Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Starting Countdown? Please help!

Asked by 10 years ago

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?

0
Thanks, but where exactly do I put the script? naruto12345677 5 — 10y
0
Put it in Workspace for it to work. HexC3D 830 — 10y

2 answers

Log in to vote
3
Answered by
Nickoakz 231 Moderation Voter
10 years ago
--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
More efficient = +1 :) HexC3D 830 — 10y
Ad
Log in to vote
0
Answered by
0x72 20
10 years ago
--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

0
Thanks, but where exactly do I put this script? naruto12345677 5 — 10y
0
there i edited my answer check that 0x72 20 — 10y
0
i'll post a more efficient one. Nickoakz 231 — 10y
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 TxH_03 0 — 7y

Answer this question