What do i need to do

I dont know how to make my pickaxe swing from animation montage section

for example:

one click of a button - Swing1 → End1
Keep pressing - Looping between Swing1 → End1 ->Swing2 → End2 until i let go of the press

Heres the screenshot from my montage
tl