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

How come my Idle Animation for the NPC doesn't work? [SOLVED BY ME]

Hello! I am trying to create an idle animation for an NPC (As the title suggests). No errors occur, but it isn't working.

local animIdle = Instance.new("Animation")
local hum = script.Parent:WaitForChild("Humanoid")
animIdle.Parent = hum
animIdle.AnimationId = "rbxassetid://507766388"
local anim = hum:LoadAnimation(animIdle)
anim:Play()
--Server Script

This is the view from the explorer tab. The highlighted script is the code right above this paragraph.

All help is appreciated.

Thanks, LennyPlayzYT

1 answer

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