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

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

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

✓ Accepted answer
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

5 comments

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.

0

I need help withthat

0

Literally to debug, go to the game, join it, then hit F9.

0

(the teleportation (I need help with)

0

I'll write something up in a bit for you.

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