R6 Humanoid not playing animation

REPOST: I asked a question in the other one and nobody answered to it afterwards.

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    R6 model to play animation
  2. What is the issue? Include screenshots / videos if possible!
    animation is not playing.
  3. What solutions have you tried so far?
    Change animation priority.
    Did you look for solutions on the Developer Hub?
    Yes. Did not work…

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

function playAnimation(humanoid, animationId)
	local animation = Instance.new("Animation")
	animation.AnimationId = "rbxassetid://"..tostring(animationId)
	humanoid.Animator:LoadAnimation(animation):Play()
end

playAnimation(someHumanoid, someAnimationId)

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

Here are solutions for fixing this problem:

  1. Humanoid and Animations are R6.
  2. Make sure the AnimationId is correct.

Have you tried changing the animations priority?
Animations also won’t play if you don’t own the animation.

This script works fine for me. Are you sure its not an issue with the rig?
Stuff like body parts being anchored, Motor6Ds not being set up properly, etc.

1 Like

I don’t see any motor6ds in the arms however there are some in the head and humanoidrootpart. I actually think it might be the animation priority as @GooberOnTheForums said but I would like to know which one to put as it should just play an animation over the core animation. Like doing an action.

1 Like