:LoadAnimation() on an Object doesn't work

I’ve tried rigging a model and animated it correctly through the roblox Animation Editor, and also confirmed that the owner of the animation is set as the same as the owner of the game, but when I try to play it in game, it did not work, the item just stood still and none of the animations played. This is my script:

local Animation = script.Parent.Animator:LoadAnimation(script.Parent.Opening) --Opening is the Animation with the ID inside
wait(.1)
Animation:Play()
print("Completed") -- This did print but the animation did not play

Any help is appreciated! :slight_smile:

I think you need to use Humanoid:LoadAnimation()