Well, for using a sword I make a damage object, something that will hurt an enemy, like a bullet, but not have it move, and have it destroy itself almost as soon as it is created, and when your character swings his sword, you can have it create this object infront of him, so he will destroy any enemy that is there.