I made an idle animation I just want the arm rotated lower than the default position.
It doesn’t work because somehow the LoadAnimation only work when the animation id is in the " " but your scripts doesn’t so here is the script that should work and the LoadAnimation rather the animation that you want it to play than the animiatonId
animation = script.Parent.Animation
script.Parent.Equipped:Connect(function(a)
script.Parent.Parent:FindFirstChild(“Humanoid”):LoadAnimation(animation)
end)
I would look into this to understand what is needed to call an animation.
Just type this:
animation = script.Parent.Animation
not:
animation = script.Parent.Animation.AnimationId
1 Like