Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Animations don't load anymore?

I can't load any animations in any of my projects, I have kept getting these errors in all of my projects, it says: "LoadAnimation requires the Humanoid object (ABCTrainerDude.Humanoid) to be a descendant of the game object"

I can not figure out how to fix this, I would really appreciate if someone could help me, thanks!

3 answers

Do it this way, it always works for me like this.

local animation = script.Parent.Animation
local loadanim = script.Parent.Humanoid:LoadAnimation(animation)
loadanim:play()

the script.Parent is supposed to be the character.

Hope it worked and helped you out!

I fixed it, all I had to do was parent the object before the animation, I hope this helps anyone with the same problem!

1 comment

0

Basically had to wait until plr loaded

This discussion is preserved as it was. New answers, comments, and votes are closed.