Hi.
If you can attach the sword and make it stay in the hand then awesome. 90% is done.
To get your hits go to project settings, collisions and create a new object channel… use this channel on your enemies. Create another one for melee weapons. Set your weapons to this channel.
Then on the overlapping component of the sword… the one that is suppose to fire the event make sure its channel is the weapon channel. And set the custom collisions to only register for your enemies.
This is ideal. However… as a double check you can do an on component overlap event, cast to enemy… then only if the cast was successful do a cause damage node.