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

Why won't setting an animation's priority to "Action" override the default holding animation?

Asked by 5 years ago
Edited by BlackOrange3343 5 years ago

So.......yup, the question is pretty much in the title, but i'ma g into more detail with this, cough cough, so yeah, i made it so when you activate a tool it makes your character do an Eating Animation, i set the priority of the Animation to Action which i heard would override the default Holding Animation, however, this doesn't appear to work for me, this feels especially weird since it seems to have worked for allot of other people, here's the code i used to set the priority and stuff

local AnimId = "http://www.roblox.com/asset/?id=03029036089"
local Animation = Instance.new("Animation")
Animation.AnimationId = AnimId
local LoadAnim = Humanoid:LoadAnimation(Animation)
LoadAnim.Priority = Enum.AnimationPriority.Action
wait(0.2)
LoadAnim:Play()

WHAT AM I DOING WRONG? :(

0
the way that StackEdit (which in really don't like btw) has made the question look really weird FlabbyBoiii 81 — 5y
0
Make sure when you export from the Animation Editor, the Priority is already Action. This can be found under "Setting" in the animation editor. BlackOrange3343 2676 — 5y
0
ok i'll try FlabbyBoiii 81 — 5y
0
IT WORKED FlabbyBoiii 81 — 5y

Answer this question