Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can I get the Walking and Running animations to work in the "Animate" script?

Asked by 1 year ago

So at first I thought that either the walking/running animations would play depending on the player's WalkSpeed which apparently isn't the case because only the Walk animation actually plays, and the run animation seemingly does not have any purpose?

What I am trying to do is have custom Walking and Running animations for players, and how I am trying to achieve this is by changing the "walk" and "run" animations in the "Animate" script located in the Player model. This seemingly works however for some reason instead of transitioning the animation from Walk/Run depending on the WalkSpeed, the walk animation is the only one that plays, regardless of any WalkSpeed.

I have, for a while now searched for a solution on the Devforum and on scriptinghelpers but none of the solutions have worked for me. Any help would be much appreciated!

0
Quick note I am using R6 for my game, not R15. BUMMER_Poo 9 — 1y
0
So, you want the Run Animation to play after a certain WalkSpeed value is reached? antonisthegod 12 — 1y
0
Yes, precisely BUMMER_Poo 9 — 1y

1 answer

Log in to vote
0
Answered by 1 year ago

I have wanted something like this as much as you did. And guess what? There's literally a free script for this!

You can find it on this link

The default speed the script sets for splitting the walking and running is 30. Change it if you want.

The default running animation is roblox's infinite runner running animation. Change the ID inside the animation object to set it (if you didn't know you could do that already)

(Note: It does not transition the animations, only plays either one depending on the player's speed.)

0
Thank you, this works great! However the animations would for some reason play very weightlessly. BUMMER_Poo 9 — 1y
0
I found a better version here that allows me to change the Speed of the animations and of course, has a fix to my problem: https://create.roblox.com/marketplace/asset/10857086121 Thank you for your help though! BUMMER_Poo 9 — 1y
Ad

Answer this question