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.
for i=1, 540, 1*timeMultiplier.Value do
textEvent:FireAllClients("Game in Progress "..i)
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.