Can't load Animation from Catalog

Hello, i want to load this animation : Toy Idle - Roblox on a NPC but nothing happens.

My code :

local RS = game:GetService("ReplicatedStorage")
local Dummies = RS:WaitForChild("Dummies")
local idleToy = RS:WaitForChild("ToyIdle")
local model = Dummies.Outfit:Clone()
local humanoid =  model:WaitForChild("Humanoid")
		
local controller = humanoid:WaitForChild("Animator")
controller:LoadAnimation(idleToy):Play()

Model is in a ViewportFrame

Animations can not be public, If your going to share an animation, publish the animation to the game’s group or give your animation file.

actually, animations made by roblox are public, it’s because he is using the assetid and not the animationid

take a look at this post to see how to get the animationid

I thought he actually ment player animations.

You can use my tutorial to do it

You can use the id and convert to animation id using this tutorial

Also , you may simply load this inside humanoid , not by animator , just by loading the animation directly to humanoid

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.