Weapon animation still ongoing while holding down the button

Hi, I had a problem on a little detail on a recent project. I created personalized animations for my weapons, one of them Automatic and the other Semi-Automatic. The problem is, after setting up their blueprints, the Semi-Automatic gun’s animation continues to play in loop if I hold down the button, even if its not actually firing.

The ‘‘Is Firing?’’ boolean triggers the animation when checked, and the ‘‘Can Shoot Rifle?’’ event is just checking if the weapon has ammo to continue the action. Any tips to make it stop that?