Dancing sword

Weapon (any sword) Very Rare (8.000 gp)

You can use a bonus action to toss this magic sword into the air and speak the command word. When you do so, the sword begins to hover, flies up to 6 sqr. (9m), and attacks one creature of your choice within 1 sqr. (1.5m) of it. The sword uses your attack roll and ability score modifier to damage rolls.

While the sword hovers, you can use a bonus action to cause it to fly up to 6 sqr. (9m) to another spot within 6 sqr. (9m) of you. As part of the same bonus action, you can cause the sword to attack one creature within 1 sqr. (1.5m) of it.

After the hovering sword attacks for the fourth time, it flies up to 6 sqr. (9m) and tries to return to your hand. If you have no hand free, it falls to the ground at your feet. If the sword has no unobstructed path to you, it moves as close to you as it can and then falls to the ground. It also ceases to hover if you grasp it or move more than 6 sqr. (9m) away from it.