Hello! All, so, the game I’m working on it has some “problems” with the mobs, It’s currently not released. It’s on a test place.
It’s a tds game, I’ve encountered a problem with spawning mobs (in the 2nd wave).
THE PROBLEM: On the 2nd wave, the mobs spawn twice as intendend and do not respect the task.wait() I added. This problem wasn’t happening when I made the wave system and spawn system, I “met” it just now, when I’m making the tower system, still I can’t find anything that breaks the code or anything that resolves this.
The [n] is the number of the wave the strings in the table, like: {“a=1”,“b=2”} are just the enemies that are going to spawn a is the name and 1 is the times that it has to spawn, same for the b or just the name of the mob.
That’s all for the main scripts, @TheMightyThor2008 I hope this was the info needed!