After a quick evaluation:
1. You don't need lines 17 - 22.
2. In line 27 & 28, you mixed player health bars & text, resulting in the player's health bar getting altered when an enemy is shot.
3. In line 16, add a "Move to top of layer" for hptotalbad1 after pinning it to the turretmarker.