Why my animation doesnt show properly?

Im trying to make a double jump system, everything worked fine but when I tried to add a spin animation it doesnt show properly what’s the problem and how I can make the animation

   function DoubleJump(Boost)
    	if(Boost)then
    		Humanoid.JumpPower = JumpPower * Boost
    	end
    	Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
        DoubleJumpTrack:Play(0,1) --this is the animation track
    end

This is what I get


This is the real animation

1 Like

Try adding a 1 in the first parameter as its the duration of the weight to be faded

DoubleJumpTrack:Play(1,1)

Made it worse

Oh merde, try playing with the parameter if the duration is greater than the weight then it will be worse try making the weight more greater than the duration

Try removing the 1? DoubleJumpTrack:Play(0)

Its always the same, desnt change I tried with weight of 500 and nothing changed, the roblox animation system is kinda broken

no I didnt work .-. I’ve had the same problem multiple times, I dont understand how Weight works

I’m not too educated on this topic but if I had to guess the standard Fall Animation from roblox might be playing over your spin animation causing that funky movement. Try turning off the fall animation?

	Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
	for i,v in pairs(Humanoid:GetPlayingAnimationTracks())do
		v:Stop(0)
	end
	DoubleJumpTrack:Play(0,1)
	DoubleJumpTrack:AdjustWeight(1,0)

I did it, I think this is the way to do it and no its the same

1 Like

Make Sure The Animation is a Action becuase its getting overieded by the Defaults animations

Maybe this can help? I used the old version which is now deprecated “humanoid:LoadAnimation(animation)” to make those custom sitting animations for “vibe” games. So I hope this article is relevant and can help you.

1 Like