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

How can you make a countdown timer(with teleportation(read DESC)?

Asked by 7 years ago

All to know is how to make a three minute countdown timer(when it ends it teleports all of the players to a certain position.

1 answer

Log in to vote
0
Answered by 7 years ago
CountdownTime = 30 -- 30 seconds, you can edit this property

while wait(3) do -- while wait loop
for i = CountdownTime, 0, - 1 do -- for loop
print("Countdown: "..i) -- output
wait(1)

if CountdownTime == 0 then
print("Teleporting players..")
 -- Add teleporting code here, if you also need help with that; please let me know
    end
end
0
If you hit F9 while testing, then click the Server Log tab, you can watch it countdown lively; or use the ROBLOX Studio output. Head to the view tab, then click output. StoleYourClothes 105 — 7y
0
I need help withthat ProgrammableGami 23 — 7y
0
Literally to debug, go to the game, join it, then hit F9. StoleYourClothes 105 — 7y
0
(the teleportation (I need help with) ProgrammableGami 23 — 7y
0
I'll write something up in a bit for you. StoleYourClothes 105 — 7y
Ad

Answer this question