What we will do:
Add “health” variable to the character.
Damage character with the enemy attack.
Show character health and damage with a widget over the character’s head.
Start the level over when the character’s health reaches 0.
https://dev.epicgames.com/community/learning/tutorials/M68W/unreal-engine-tutorial-character-health-displayed-in-a-widget