I know how to get an NPC to do an animation, but I want it to do a pre-made emote.
I have the NPC unanchored and I have had it play custom animations, but for some reason I get no errors, yet the NPC doesn't move when I use the Salute emote (rbxassetid://3360689775)
Here's the script I use usually:
local animation = script:WaitForChild('Animation')
local humanoid = script.Parent:WaitForChild('Humanoid')
local dance = humanoid:LoadAnimation(animation)
dance:Play()
print("animationplayed")
I have an animation placed inside the script
Any Ideas on how to resolve this issue will be very much appreciated
Thanks, IncredibleTeamAidan
Extra Note: the print does work, and I have this running on an R15 model so I know that the rig type doesn't cause problems

2 comments
Does it not say anything else in output?
Theres nothing apart from the print in the output :/