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

Why does my animation play funny when used in a Animate Script?

Asked by 4 years ago

So basically I built and rigged an npcdinosaur. I inserted an animate script to make it play the various animations (idle, walk/run, jump, etc.). For some odd reason my Dino plays the animations funny when used in the script.

I tried loading and playing the animations manually with...

local runanim = script.Parent.Humanoid:LoadAnimation(script.Parent.RunAnim)
wait()
print("I tried")
runanim:Play()

...and it plays fine. Anyone can figure out the issue?

0
If you can show the animation playing “Funny” that would be very helpful. SyntaxMax 0 — 4y

1 answer

Log in to vote
1
Answered by 4 years ago

What priority did you set these animations too? I'm going to assume you may have forgotten the priorities

Here are the priorities in order:

  • Core(Lowest)
  • Idle
  • Movement
  • Action(Highest)

Read more info here!

If you set let's say your running animation to core any other default animations will override that current animation to fix that you would set your running animation to movement.

Ad

Answer this question