Right Arm keyframes not playing in Animation

Hi Developers!

  1. What do you want to achieve? Keep it simple and clear!
    I hope to figure out why the characters right arm keyframes are not playing.

  2. What is the issue? Include enough details if possible!
    Simple animation in the animation editor:

The end result:

The script:

local function onActivate()
	local humanoid = tool.Parent.Humanoid
	local anim = Instance.new("Animation")
	anim.AnimationId = "rbxassetid://8026733275"
	local animTrack = humanoid:LoadAnimation(anim)
	animTrack:Play()
end
  1. What solutions have you thought of so far?
    I tried remaking the animation several times but either the animations don’t play or the animation is broken is some aspect. This is the first time I’ve had an issue like this. I hope the solution is simple.

I read all these pages:
https://devforum.roblox.com/t/character-walk-animation-freezesskips-with-animationweightedblendfix-enabled/1509638
https://devforum.roblox.com/t/how-to-properly-animate-a-tools-model-dont-use-humanoid/1532408/3
https://devforum.roblox.com/t/deprecating-loadanimation-on-humanoid-and-animationcontroller/857129
https://developer.roblox.com/en-us/api-reference/class/Animator
https://developer.roblox.com/en-us/api-reference/function/Animator/LoadAnimation

Holla

2 Likes

Heyy, I think I know the solution to this. Select the tool and turn off RequiresHandle or something like that. It should work! Happy creating!

Is the Animation Priority set to Action? If so, it should override the default tool anim. What seems to be occurring here is the default tool anim is overlapping the swing anim due to it having the higher priority. Try doing this in the editor for the animation:

  1. Press the icon
    image

  2. Set the priority
    image

Make sure to save the anim and publish it and stuff to see the change take effect.

2 Likes

Perfect! I wasn’t sure about the priority. Thanks.

1 Like