In my game i made a script that increases your walk speed as you keep walking, And i made 2 animations, One for running and one for walking, i made it so if the speed is less than 25 it goes to player's character and then animate script and then the walk string and then changes the animation id, and same for more than 25 for running, But when i test it it looks like my character is still doing the walk animation and when i stop and walk again (the speed is more than 25) he does the running animation.
If you didn't understand something tell me and i will give a better explanation.
So here is the part of the script to change animations:
if speed < 20 then
character.Animate.walk.WalkAnim.AnimationId = "rbxassetid://123456789"
else
character.Animate.walk.WalkAnim.AnimationId = "rbxassetid://123456789"
end
So how can i change my walk animation while walking and affects it?
Im not asking for any scripts, I just need the solution and i will script it myself.
Im really sorry, i wasn't able to put a video because my video size was over than 200mb (and it was just like 7 seconds)