How can i make this transition smoother

I was changing the state to landed but that creates a split second

	if Input.KeyCode == Enum.KeyCode.LeftShift and Humanoid.MoveDirection.Magnitude > 0 then
		Animate.run.RunAnim.AnimationId = RunAnimationID
		Animate.walk.WalkAnim.AnimationId = RunAnimationID
		Humanoid:ChangeState(Enum.HumanoidStateType.Landed)
1 Like

Maybe you could try to play the new animation if the HumanoidStateType is running instead.

its a sprinting animation and the animation change has to happen while the player is moving

In truth, I have no clue (from the code or description) how to solve this. Information is key, never can there be too much of it.