How do I make spawn projectiles deal damage to the player?

What do you mean in regards to the variable in the gunner being wrong, do you mean “EHealth”? it’s just a variable I made to store the enemies health