The AI enemy is pointing wrong direction when hitting

Hi

I am following a tutorial and when making the AI enemy hit the player (me) the red line ( direction of hittting i guess ) is pointing like 90 degree to the left or sometimes in a completely diffferent direction not pointing at the player … and after it hits me a couples times not making any effect on my because the red line is pointing another direction, then he hits me again and the line points exactly to where i am and it actually turns green and it makes the player (me) jump like event graph says, but what i don’t understand is why many times it misses. check images below and in the comments please. HELP ( i am noob learning unreal engine blueprints for the first time this week)

i actually already solved that but The problem i cannot solve is that the player is been hit once the enemy gets to 120 units from the player, but the animation of the enemy hitting the player happens 1 second ( aproximate ) later. I change the location of the anim notify in the anim montage but that doesn’t fix it, i have no idea how to fix it. So player gets “hit” but the the attack animation happens 1 second later

(post deleted by author)