i don` know why this is happens. My script working correctly, but something still goes wrong... Really dont know why
I would expect it has to do something with the way you're spawning the enemies