In Game Animation Bugged Compared To Real Animation

So I’m making an axe and for the 2nd and 3rd swings, they are completely bugged from the actual animation.

Actual Animations

In Game

As you can see the first clip doesn’t have the arms move the same as in the second clip
Here is the code, it’s in a script that’s in a tool.

local CombatInfo = {
	script.Swing1,
	script.Swing2,
	script.Swing3,
	script.Swing4,
	script.Swing5
}

local Debounce = true
script.Parent.Activated:Connect(function()
	if Debounce then
		Debounce = false
		
		local Character = script.Parent.Parent
		
		Current = tick()
		local Fix = Current - Previous
		Previous = Current
		if Fix < 1.2 then
			Count += 1
			if Count > 5 then
				Count = 1
			end
		else
			Count = 1
		end
		
		local Swing = Character.Humanoid.Animator:LoadAnimation(CombatInfo[Count])
		Swing:Play()
		Swing:AdjustWeight(2)
		Swing:AdjustSpeed(1.2)
		
		Swing.Stopped:Connect(function()
			Hitbox:Destroy()
			if Count == 5 then
				wait(1)
			end
			Debounce = true
		end)
	end
end)

Try this solution as it was just posted… you need to set your animation priority level:

I tried this and it didn’t seem to fix the issue

Go to workspace, click animationweightblendfix and disable it, that should fix if not then idk

that still didn’t fix the issue

You shouldn’t rely on this, it could be removed and you don’t want to be one of the people to have kept it disabled despite Roblox telling you to make your game compatible.

What you should do (if your animations are fixed by this) is open your animation in the built-in animation editor (because Moon Animator doesn’t let you control this, for some reason) and set the priority correctly.

Why does this "fix" (AnimationWeightedBlendFix) "break" my game?

Currently, there’s a bug in the animation blending code that can make an animation completely override another if they both have the same priority.

Animation1 - Plays with priority “Action” (default for Moon Animator, but applies to all other priorities)

Animation2 - Also plays with priority action

The old behaviour used to play Animation2 over Animation1, so Animation1 wouldn’t be visible, but the new behaviour, which you can turn on by setting AnimationWeightedBlendFix under Workspace to Enabled or Default, mixes the animations 1 : 1, which is a more desirable result, since simply changing the order of the :Play() calls in the older behaviour would result in the wrong thing playing.

cc @PlebScripts

How are you playing the animation (code)? Are you using something like Moon Animator? Have you tried setting the priorities if you haven’t already?

Please post your script so we can help diagnose and find a solution.

I posted the code just now. _____

moon animator auto sets the priority to action and when i change it in the script it still doesn’t change anything.

Have you tried removing this line?

You should set the priority in the default Roblox Studio built-in animation editor, not with a script because of weird replication stuff.

I have tried removing the weight part and it didnt do anything and i dont think the priority is the problem but ill try and do it with the animation editor