I want an NPC doing an R15 dance emote (/e dance) but I've noticed that the dance on a regular player takes multiple animations. I don't know how to have it so the NPC can be doing multiple R15 dances at once and keep it playing. Please help.
COMMUNITY QUESTION
How to have NPC doing a dance emote?
1 answer
local Character = script.Parent
local Humanoid = Character.Humanoid
local Animation = Instance.new('Animation')
local Track = nil
function loadAnim(id)
Animation.AnimationId = id
Track = Humanoid:LoadAnimation(Animation)
Track:Play()
end
--Call the function like this:
loadAnim(ID) -- make sure the animation id your pasting is created by you or it wont work
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
put an animator in the model of the NPC and then change the idle to your dance..