In case anyone has this problem i’ll post my solution. The node ‘Orient Rotation to Movement’ was causing the error, so whenever i was aiming this variable was set to false, whenever i was not aiming it was true, the problem was that after i released the shoot button i was setting it to true when it shouldn’t have been, and for whatever reason i was getting that weird glitch.