Help with scripting Animations

So i’ve created a walking animation, and I like it alot. But the only thing wrong is that the animation doesnt go faster via player walk speed. So my question is, does anyone know how to make this happen?

You need to set the animation in scripts.

If you replaced the animation in the animate script it should change automatically. Otherwise, you can use adjust speed to speed up the animation. You’ll probably have to play with the value, this is just scaling with the default walkspeed.
anim:AdjustSpeed(humanoid.WalkSpeed/16)