I have a gun that sways side to side with the walk animation when being aimed in, which obviously removes the point in aiming. Is there a way to disable the walking animation/sway on right click/hold when a tool is equipped. Or is there a way to stop/lock the arms and gun from swaying with the walk animation when aiming in a gun with right click/hold?
You should probably add a local variable called aimanimation. When the server detects a right click then you should play:animation() under the line of code that detects the right-click/aiming. Add an animation under the script and name it aimanimation. Or another option could just be using a script with a custom walk animation when equipping the gun. If that doesn’t work then you could make the player speed to 0 so the player stops and the gun stops swaying.