#How do i make a script where if you reach your max speed your running animation changes like in soni
1 messages · Page 1 of 1 (latest)
Its ez
Make sure u put infinite loops
So it will work
Pls reply me If it didn’t work
I will find some solution
Like this?
It just goes into the max speed animation anyway
<@&1050648858243379231>
The infinite loop must be changed to a repeat until otherwise performance will gradually decrease exponentially everytime the movement state is running
Also known as a keep loop ()
Keep loop (movement state ≠ running) basically and you should instead check for x axis speed, because movespeed is just the max speed actor go, not the real speed
Oh
Like this?
It works but the running animation stays the same
Yeah, also add an or else by pressing the + icon and the normal walk anim so once you go at 9.9 x spd you don't stay with max run
Also you need to put the x spd inside an attribute and select abs value so both directions will work (abs value makes it always positive instead of being left and right positive negative)
Ok
I can’t put an attribute inside of an if statement
The x axis speed