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

Count down help?

I'm trying to make a countdown script, but when I start it up, but it counts down from 10 to 0 in less than a second....

Script :

for i=10,1,-1 do
	print(i)
end

1 comment

0

You're forgetting a "Wait(1)". You want the for loop to execute every 1 second so you wait that 1 second with "wait(1)"

1 answer

✓ Accepted answer
for i=10,1,-1 do
	wait(1) -- this is very important. It puts a wait time in between each time it loops.
	print(i)
end

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