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

How do i use for x= 9,5, -1?

I currently have use it in many things

for x = 10,0, -1
print(x)
end

My current plan is to make it as a countdown? But it just goes: 10,9,8,7..etc. Instead of 10..9...8, Can anybody help me?

2 comments

0

Can you be more specific? Do you mean adding a delay?

0

Yes.

1 answer

You can add a delay like this:

for x = 10,0, -1 do
	print(x)
	wait(0.1)
end

Where 0.1 is the length of the delay, in seconds.

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