Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I use animator and how can I script It?

So roblox deprecated Humnoid:LoadAnimation() and I need to use animator In order to make the NPC dance but I don't really know how to use animator (Cuz Im new to It) and there Isn't YT videos surrounding animator

Also: I animate moon animator I put the animation Inside of the script

1 answer

There are no YouTube tutorials covering Animators since they're not really that hard to learn. You can find information about them here

I can tell you a bit about Animators though. First of all, you're going to have to add the animator inside the Humanoid. You can do that using a script or through the explorer. Then, you can just do :LoadAnimation() like how you'd do it with a regular Humanoid.

local Character = script.Parent -- // Change this to your desired character path
local Animation = Character.Humanoid.Animator:LoadAnimation(script.Animation) -- // Change to desired animation path

Animation:Play()

Hope this helped you!

2 comments

0

Oh thanks!

0

Oh thanks!

This discussion is preserved as it was. New answers, comments, and votes are closed.