So I have this equip part of my script where it gives the idle, but I need it to change the run anim, any help because this is for some reason not working, any its not giving a print either.
TOOL.Equipped:Connect(function()
local HUM = TOOL.Parent:FindFirstChildOfClass("Humanoid")
if HUM and script:FindFirstChild("Idle") then
TOOL.Parent.Animate.run.RunAnim.AnimationId = "http://www.roblox.com/asset/?id=3394630952"
print("gave run anim")
IDLEANIM = HUM:LoadAnimation(script.Idle)
IDLEANIM:Play()
end
end)
So I just made an adjustment, and it now gives the run anim, but now i have a new issue, the run anim does not show up, how do I make this work? And also, I made the “idle” anim an idle property in the animation editor, and it now had my right arm sticking out, and the run does even show up when I move.
Roblox’s default animations all run on the ‘Core’ priority. If you want to play animations without having them overridden by the default animations, you need to increase their priority to something above ‘Core’. Make sure to re-export the animation after changing its priority.