Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why isn't my idle animation not working in startercharacterscripts?

Asked by 4 years ago
local anim = hum:LoadAnimation(script:FindFirstChild("Idle"))

And I am playing it with anim:Play( )

it's a character script

Output error: LoadAnimation needs an animation object when the animation id is in there and there is an object..

1 answer

Log in to vote
0
Answered by 4 years ago

This simply means that the script cannot find the ID within the animation's properties. Make sure it is there and the animation is published with that ID.

0
It already was... DayLighter_1995 8 — 4y
0
maybe it just wasnt loaded in by then, you could try using waitforchild or something ElusiveEpix 2 — 4y
Ad

Answer this question