you have to give a sword to the invisible armor stand
Note: Minify the command to avoid issues :)
floating sword
killer skeleton
GOD SWORD!
GOD SWORD! 1.11.2
The Super Sword
OP DIAMOND SWORD!!!