Animation plays, but it doesn't look similar to how i animated it

I’ve made a jumping animation that looks like this:

External Media

But in game, it looks like this:

External Media

** The animation is at priority action 4. **

– OnJump Function

Humanoid.Jumping:Connect(function(active)
	if active then
		if not jumpDebounce then
			jumpDebounce = true
			Animate(Humanoid.Animator, data.Animations.Jump, "Jump", true, 1)
		end
	else
		jumpDebounce = false
	end
end)

– Animate Function

function Animate(Animator, AnimationId, Name, StopAnimations, Speed)
	if Name ~= currentlyPlaying and StopAnimations then	
		if CurrentAnimations[currentlyPlaying] then
			CurrentAnimations[currentlyPlaying]:Stop()
		end
	elseif Name == currentlyPlaying then
		return
	end

	local NewAnimationObject = Instance.new("Animation")
	NewAnimationObject.AnimationId = AnimationId

	local NewAnimation = Animator:LoadAnimation(NewAnimationObject)
	NewAnimation:Play()
	NewAnimation:AdjustSpeed(Speed)

	NewAnimationObject:Destroy()

	CurrentAnimations[Name] = NewAnimation
	currentlyPlaying = Name
end

These are on a local script.

You could try turning up the animation priority, because it looks like animations are overlapping.

The animation priority is at max already.

It’s fixed, the animations were overriding. It was a code issue.

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