Custom jumping animation doesn't work

game.Players.PlayerAdded:Connect(function(Player)
	
	Player.CharacterAppearanceLoaded:Connect(function(Character)
		
		for _, playingTracks in pairs(Character.Humanoid:GetPlayingAnimationTracks()) do
			
	    playingTracks:Stop(0)
	
        end
		
		Character:WaitForChild("Animate"):WaitForChild("jump"):WaitForChild("JumpAnim").AnimationId = "rbxassetid://4995347713"
		
	end)

end)

This script changes my player’s jump animation to a custom animation I made. It does change the Id, but whenever I jump the new animation doesn’t run. No animation runs, my character just locks up when I jump like there’s no animation playing, I have no idea why this is happening. I changed the animation priority to every type of priority and it still didn’t work. There were no errors

1 Like

Is the animation for the respected character eg r6 anim for r6 character?

1 Like

What I do usually is just swap out the animation script with another one with all the different animations.

1 Like

Oh yeah, I made it on a r6, how can I make it work for both r6 and r15?

Edit: I’ll just make two different animations and put in one depending if its an r6 or r15 character

1 Like

So, for that you will need to make a r15 animation, then check the characters body type and change the anim id according to its body type

1 Like