Character keeps punching when button is pressed once even with do once

Im not sure what you mean by stoping the anim montage. Im using the punching end animation like on the udk tutorial video. Do I have to have a animation back idle at the end of my punching montage? I want the punching to loop for as long as the button is pressed. That would be fine but I want him to stop when the button is not being pressed. I did the video step by step for the base blank udk dummy and it worked perfectly. Now I re did the same video steps multiple times for my character and now Im having the same issue. Thank you. I really appreciate the help.