How can I play multiple animations for a weapon?

I want to animate a sledge hammer. Where if I hold the mouse down an animation plays where the player begins an animation and starts winding up, eventually over 2 seconds reaches the peak animation and a new animation plays where it shows the hammer kind of hovering like a lot of force is being used to charge it up sorta speak. And then finally a release animation.

How can I do this with animations? Like I feel like I’d need to somehow reverse the animation once the first windup animation starts playing if the player lets go of the mouse button. Any ideas?

You should use anim:AdjustSpeed(example 0.5) for the windup and then anim:AdjustSpeed(example 1 or 2) when the weapon is about to be swung and then put anim reach markers in your animation so your script knows when the weapon is swung and when its winding up without having to use wait().

The first anim:AdjustSpeed(0.5) will slow down the animation during the windup and you can make the slowness increase gradually based on how long the player is holding by using a for loop, and the anim:AdjustSpeed(1.5) will speed up the animation when its time to swing the weapon