Arm Control script Doing something weird

I have a script then when you Equip a tool you can Control You arm with your camera/mouse , but when you UnEquip the tool you arm just anchors.

I dont want to paste the script because It’s kind of big so Im just going to provide pictures