So in the Catalog of emotes, I stumbled across this emote. I created an NPC and used this following code:
local animation = "https://roblox.com/catalog/3823158750/Godlike" local humanoid = script.Parent:WaitForChild('Humanoid') local dance = humanoid:LoadAnimation(animation) dance:Play()
But it doesn't work. I'd assume it's Line 1 causing the issue, but I'm not the professional here. All help is appreciated.
Here is the Fixed script:
local animation = Instance.new("Animation", workspace.NPC) animation.AnimationId = "rbxassetid://3337994105" local human = workspace.NPC.Humanoid local dance = human:LoadAnimation(animation) dance:Play()
Make sure the NPC is unanchored, but also you CAN anchor the HumanoidRootPart. Also, you were using the emote, not the animation. I have the animation here. You need an instance of an animation, not just the ID. Happy to help, b_mni.