Thank you for feedback!
I made the despawn of enemies for optimization, because when there are more than 80 of them on the map, the game starts to lag (at least for me) . However it checks distance to spawn point.
Anyways i'm glad that you enjoyed game! :)