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

Is there a way to change Animation Priority with script?

Asked by 5 years ago

I haven't typed any script because I don't want it to confuse me when you guys answer. How do I change animation priority with only script. Thank you in advance

1 answer

Log in to vote
0
Answered by 4 years ago

Yes, you can do it!

local animation=Instance.new("Animation",character)
animation.AnimationId = id
anim = humanoid:LoadAnimation(animation)
anim.Priority = Enum.AnimationPriority.Action -- Instead of Action you can type: Core or Idle or Movement
0
Thx Dec_ade 47 — 4y
Ad

Answer this question