How to change the increment value in a for loop after its started?

I’m trying to make a game that has similar functionality to something like Tower of Hell, where you can buy multipliers to make the rounds go by faster. The way I have it currently set up is with a for loop that goes up until it hits a number and then resets the playing area. The way I’m doing it, I can’t adjust how much the loop increments after it has started.

Code:

for i=1, 540, 1*timeMultiplier.Value do
		textEvent:FireAllClients("Game in Progress "..i)
		task.wait(1)
	end

I don’t believe you can do it this way. The best option would be to use a while loop instead and break to stop when you want the loop to end. In fact, a while loop is what I always start with until I know for sure that the thing I’m doing can be a for loop.

Local timesLooped = 0

for i=1, 540, 1*timeMultiplier.Value do
   If timesLooped == (some amount of times) then
      Break
   end
   textEvent:FireAllClients("Game in Progress "..i)
   task.wait(1)
   timesLooped += 1
end

And is why 1*timeMultiplier.Value, isn’t that the same as timeMultiplier.Value?