Attack to player dosen´t work

I copied the Attacking lesson from the course Unreal Engine: Ultimate surivival horror course on Udemy. But in my project the enemys stood still for 5 seconds when I touched him and I didn´t die, I could still move. What should i do or fix?

Please post script responsible for the behaviour.


@user652937 It’s unnecessary to spam other, completely unrelated threads. Instead provide more info on the issue. There are currently too many unknowns to help you, hence no answers.

Version: UE5.5
Steps before the problem occurs: Please look at the picture I screenshotted:

And I set all blackboards to both. If the question still cannot be answered then you can tell me what is missing in response to my question.

If you hover over the enemy while playing in editor and press ’ it will bring up a debugger. It will show all the blackboard values and which task is currently running, that would help you a lot in finding out what the problem is. At the bottom of your graph you have an infinite loop on a sequence node that just runs a wait task, doesn’t seem right to me but dealing with these trees always confuses me, could be ok. Either way it is best to learn the debugging tools so you can hunt down future bugs.