Well...
first of why you need to wait until the animation is finished.
It is if you instantly put equip_sword on 0 the moment the program leaves this function to do other stuff (the wait(1)-statement) I guess the position of the sword is put on his back because equip_sword is 0.
Though I'm at loss how to check if an animation has finished.
I hope someone can state this.
greetings
KDuke