Change animation based on speed?

How would I change an animation id based on the player’s walkspeed? I plan to do this when running then revert it back after the player reaches a lower speed

Have you looked at this?

https://developer.roblox.com/en-us/api-reference/event/Humanoid/Running

Yes I mean more like how would I change the animation itself, I remember trying something like changing the id and it didn’t change anything

Given the Animation Track you can Adjust its speed by using the method AnimationTrack:AdjustSpeed(Speed) or AnimationTrack:Play(FadeTime,Weight,Speed) (when playing the animation)

I meant like changing it to a different animation ID altogether, it starts out at a walk but the character gains speed as they move, so it changes into a run later