Made it so the "projectiles" would only spawn when a target is in range. Otherwise it will do nothing