Best way to implement hack&slash attack hitscan: weapon onOverlap or create separate hitbox

The way I’ve been doing it is to create 2 sockets on a sword for example, SocketA and socketB, at some point in the attack animation I trace from socket A to socket B. The trace can be a simple line trace or sphere/box trace depending on the size of the weapon.