Making a Character Attack

Hello, I am relatively new to UE4. I have set up in my Character BP event graph for an animation montage to play when I press the RMB, but it does not play despite having an animation in it. However, when I call an animation to play with the same input, it does play, but then I am forever stuck in the first frame of the animation. How do I fix this?