Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make it that some npc can dance?

Asked by 4 years ago

How do I make it that npc can dance?

0
u load an animation in the humanoid greatneil80 2647 — 4y

2 answers

Log in to vote
0
Answered by 4 years ago

insert a script into npc

local animation = script.Parent.Animation -- Change this to your animation

while true do
    local animation = script.Parent.Humanoid:LoadAnimation(animation)
    animation:Play()
    script.Parent.Humanoid.AnimationPlayed:Wait()
end
Ad
Log in to vote
0
Answered by 4 years ago

You can do that by putting the dance animation (you can look one up in the toolbox) then you insert it into the NPC.

0
Dont work AviaFlyHigh 15 — 4y

Answer this question