When the enemies see the player they fire a projectile every tick between 0.03 seconds and 0.3 seconds.
When the
projectile is fired sometimes it moves forward for half a second then it gets destroyed,
what I think is happening here is that the
projectile is colliding with the enemy (which I doubt) or its colliding with another enemy projectile.
Sometimes It just stops in mid air.