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

Why doesn't my startercharacter local script animation play?

It's a startercharacterscript with a animation inside and the animation doesn't play

local GrabAnimTrack = char.Humanoid:LoadAnimation(script:FindFirstAncestor("GrabAnimation"))

Output Error: Needs Animation Object (When there's already an object)

6 comments

1

Don't say it needs an animation when there is already an animation copied and pasted 5 times and it's not wrong.

0

Does it have a valid animation, and did you put :Play() ?

1

yeah

0

Put some more of your code here

0

ok

0

print(script:FindFirstAncestor("GrabAnimation")) AnimTrack:Play()

1 answer

✓ Accepted answer

Have you tried:

local animation = script:WaitForChild("YourAnimationName")
local animationLoad = humanoid:LoadAnimation(animation)

animationLoad:Play()

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