Why cant the client hit the enemy I'm fairly new to multiplayer and even unreal

please help

Player:

enemy:

you need to run the damage on the server not the client, you also need to replicate the health to see any change client side

Thank you so much It works perfect now