I am trying to make a tower defence game and have a wave system Implemented, but When I run the game and it gets to wave eight I get the error " invalid ‘for’ limit (number expected, got nil) "
I have tried changing the number of waves and what spawns when in the was, but still have this issue. I check on the dev forum but haven’t seen any solutions yet.
Does anyone know what the problem is?