Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

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

  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

✓ Accepted answer

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!

2 comments

0

thank you so much my :D

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.

This discussion is preserved as it was. New answers, comments, and votes are closed.