How would I apply ROBLOX's standard animations to an NPC? This is the current script:
local animation = Instance.new("Animation") animation.AnimationId = "http://www.roblox.com/asset/?id=125750544"--Basic idle animation animation.Parent = script.Parent local animController = Instance.new("AnimationController") animController.Parent = script.Parent local animTrack = animController:LoadAnimation(animation) animTrack:Play()
Done via a Script, not LocalScript. (I heard to do it like this since it isn't a real player/character?)
I am not sure but i maby think that you have to change http://www.roblox.com/asset/?id=125750544 to rbxassetid://125750544