How to do proper trace for melee

how to make a proper trace for melees
Like I’ve made it so that line traces come from sockets that I set up on a skeletal mesh
But every time I do a combo or hit the trace starts from where I left it

The trace only starts when
The player “is attacking”
But if I hit let’s say an enemy Infront of me and move to another location when I attack the trace starts from the location where I was

Any idea how to fix that cuz it’s ■■■■■■■ me out really and I still haven’t found a solution

Anim notifies doesn’t work for some reason like if I call the trace event from a notify the trace doesn’t work