Have you tried deleting all enemies on level restart, right before respawning them? I had a similar problem with an old game, and that's what I did to fix it
Actually, yes... ^^;
I have a command to search for all the Enemy Objects and destroy them every time before respawning the player.
Not sure why it isn't working.
But this game was one of the first I've ever created, so I understand that some coding techniques I've used sure had several mistakes... ^^;
Weird! The other thing I'd try is setting a max value to how many of a specific enemy unit can be spawned at once, but I can also think of several ways that might backfire. Either way, it's not too hard to just kite them and tag the exit, I even gave the game a pacifist run just to see how far I could get.
It's a very fairly-designed gameplay loop overall, great job on designing such a fun game ^_^
I made it to Level 6, the part where you need to go up the platform bugged out for me. I even abandoned the pacifist part and killed everything in the map, the platform would move up too quickly to reach even if I sprinted from the activation button towards it at top speed. I do plan to try it again one of these days since those sort of bugs are often solved by restarting the game though!