Do Damage To Player When Shot On Diffrent Parts Of The Body

You could create sockets at specific parts(bones) of the character, and then attach sphere or capsule components to those sockets in BP to use them as hit boxes.

Hello

How would I set up something where when the player is shot (with raycast) he has health taken away, as well as when he is shot in different parts if the body it does different amounts of damage (for example a headshot does more damage then if shot in the foot)

I already have the raycast part done, all I need to know is how to make the enemy receive the raycast and do the different types of damage.

Thanks,

Mike