For loop not working?

I have no clue why this is not counting down, but instead staying the same value:

for i = Settings.Intermission, 0, -1 do 
	print(Settings.Intermission)
end

(Settings.Intermission is 2).

https://gyazo.com/5d6e302f4bb19bf786636ae14265a9aa

You’re printing Settings.Intermission. Print i instead:

for i = Settings.Intermission, 0, -1 do
   print(i)
end

I’ve done this same thing so many times lol

I feel extremely stupid right now, lol, thanks

2 Likes