Animation montage is played only once

I set up an punching animation montage to my character based on the 3D tutorial. But due to some reason the montage is not looping when I press the button to punch. It just plays the punching montage once and stops even if button is pressed down. and also in the preview section of the montage it is looping in a strange way, it twitches when it goes to start while in the video it was doing smooth loop. can you please help me with this fast.

I dont know animation blueprints and montages yet but the behavior you are describing sounds a lot like the animation is restarting every other frame. is there a way you can check if it is already playing before the node that tells it to play?

I got the problem. I forgot to add the punch1 again to montage, so it wasnt looping.