Animation is not playing correctly

My animation is not playing correctly!

I want to set my custom sprint animation BUT the animation play in game is not same with in animation editor…

In animation editor:

In game:

I tried to set the animation priority to the highest and disable the AnimationWeightBlendFix but it still didn’t work…

My scripts here:

--get and load animations
local runAnimation = game:GetService("ReplicatedFirst").Animations.Movement:WaitForChild("runAnimation")
local runAnimationTrack = humanoid:LoadAnimation(runAnimation)
runAnimationTrack.Priority = Enum.AnimationPriority.Action

--function
function activate()
	if debounce == false then
		if tick() - lastTick <= MAX_DOUBLE_DURATION then
			debounce = true
			running = true
			changeSpeed(RUN_SPEED)
			runAnimationTrack:Play()
		end
		lastTick = tick()
	end
end

--user input services
UserInputService.InputBegan:Connect(function(input,gameProcessedEvent)
	if input.KeyCode == Enum.KeyCode.W then
		activate()
	end
end)

UserInputService.InputEnded:Connect(function(input,gameProcessedEvent)
	if input.KeyCode == Enum.KeyCode.W then
		if running then
			running = false
			changeSpeed(NORM_SPEED)
			runAnimationTrack:Stop()
			wait(DEBOUNCE_DURATION)
			debounce = false
		end
	end
end)

SOMEONE HELP ME PLS

EDIT: I fixed it myself cause of Moon Animator problem :skull:

1 Like

Mark it as solved if you fixed it yourself