I need help with For Loop With Delay when used with wave enemies

IMO your problem could be here. How are you keeping track of them?