you could also use a view-model for the sword and perform a c-scan in front of the player to attack