Bat "use" animation bug

i dont know if its me, but when i try doing the use animation on a bat, the game tells me that somethings wrong.
the link to the game is https://www.modd.io/play/agHEgGPLA/, you add a melee weapon (bat) and do a command that when its used you play the “use” animation and it gives an error.