How do i make a animation play in game?

  1. What do you want to achieve? Keep it simple and clear!
    I wanna make a animation in my game, like custom walking animation, etc.
  2. What is the issue? Include screenshots / videos if possible!
    I don’t know how to import and make it play!
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    No solutions, as i’ve found.

Im also using Moon Animator, not the default roblox one.

To Play Animations, you first need access to the Player’s Humanoid,

For Example, Lets say you have a Character already pathed:

local Humanoid = Character:WaitForChild("Humanoid") -- Find Humanoid inside of Character

To Play an animation, you first need to Load it with an AnimationTrack,

How do i do that?

You need to create an Animation and Insert the ID of your animation within the AnimationId Property
After that, we use the :LoadAnimation() function on the humanoid

local Anim = Humanoid:LoadAnimation(AnimationTrack)

Anim:Play() -- Plays the animation

Link For Assistance
Skip to 15:03 for the Script

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.