How to make a death system when the npc hits the character

If you follow your exec flow you will find that the “Hit Event” enter 3 times with no delay. The “Play Animation” node haven’t the clock symbol (unlike the delay node), that mean there’s no delay after its execution. In my advice you should add a delay and gate node after the player hit event call, each time the event overlap start use a sequence to open it and when the end overlap event start connect it to false. Use that gate to loop attacks.

Try this form:

EDIT: Obviously this form deals damage BEFORE the animation is played (even if the animation node is connected before the player hit) so when the player see the animation is too late and the damage is taken. You can, if you prefere, deal damage AFTER the animation putting the player hit event call right after the gate exit (keeping the loop). This can make your character “dodge” if he exit the overlap component before the end of the animation.