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

i need a help with my script thats changes speed and run animations ?

Asked by 5 years ago
  1. List item

    Ok, so am planning to make a platform Obby game based on the famous franchise ''Sonic the Hedgehog. I have the rigs some scripts and stuff, but in the original game the character runs with different types of speeds and animation Like he goes 5 miles he walks then speeds up to 25 he sprints and then 150 miles he runs like a ninja I have this script right here which does the same it changes the speed to 25/50/150 and it does 3 different walk animations But to activate the different walk animations I have to jump. How can I fix it to automatically play different walk animations without jumping at the speed that the script sets? here is the script : https://www.roblox.com/catalog/03137109874/redirect

hope you guys will help me out :D

1 answer

Log in to vote
0
Answered by
Joshument 110
5 years ago

What you want to do here is change the priority of the animation. You can change this in the animation editor. There are 4 different priorities:

Core - Lowest Priority, all animations in this will not be played over the others. Roblox animations are this priority

Action - Second Lowest. Will play over Core, but not anything else

Movement - Second Highest, plays over Action and Core, but not Idle.

Idle - Highest Priority. Will play over any other animation.

To change these, go to your animation editor. Load in your animations with the import tool, and go to settings > priority > movement. You don't want this to be Idle as that would cause it to play over your idle animation.

Hope this helps!

0
thank you so much my :D PerfectGamer1232 0 — 5y
0
Yo this is late but do you mind accepting my answer as the correct one? It gives me reputation so I can get better perks and moderation tools at some point. Joshument 110 — 4y
Ad

Answer this question