Animations with keybinds

Okay, so I want to make a drill rifle. Which basically means different animations in one tool. So I want a few animations (refer to youtube down below). But I got no clue how to make them. Anyone got any ideas? Down below in the youtube video you can see what they mean. They make a sudden move mutiple times. I have no clue how to implement that in roblox studio