Changing Default Walking Animation Using Humanoid Description

I’m not really sure what i did wrong on my end but I have a problem with the animation bit using humanoid description. Appearance changes like changing torso color work, however, custom animations don’t seem to register. Instead of a custom walking animation it plays the default Roblox animation instead. Here’s the code: (Any Help is Appreciated)

local ReplicatedStorage = game.ReplicatedStorage

local SpawnEvt = ReplicatedStorage:WaitForChild("Spawn")


local humDesc ="HumanoidDescription")

humDesc.HeadColor ="Medium stone grey").Color

humDesc.LeftArmColor ="Medium stone grey").Color

humDesc.LeftLegColor ="Medium stone grey").Color

humDesc.RightArmColor ="Medium stone grey").Color

humDesc.RightLegColor ="Medium stone grey").Color

humDesc.TorsoColor ="Medium stone grey").Color

humDesc.WalkAnimation = 5281772665

humDesc.RunAnimation = 5281772665



Not sure if this is related but i see a warning message saying:

Player::LoadCharacterWithHumanoidDescription() humanoidDescription contains duplicate assets: 5281772665

You should try to use a different walk animation (not the running animation) since it’s reusing the same animation for both walking and running. If the animation is mean’t for walking instead of running, try to make a running animation instead of a walking animation.

I wasn’t sure what the the animation was when you normally move with your character so I just set both of them to be sure. The thing is that the walk/run animation doesn’t seem to play at all and sticks with the default animation instead. I’m not sure that would work but thanks for the reply!

Usually characters spawn with a script called “Animator” which features all animations that are used. The walking and running animations are StringValues named “walk” and “run” and these have Animations that should be changed to the IDs of the animations you want to have.


I tried changing the animation IDs out like you said but it seems to not work. Perhaps i’m missing something? Here’s the code:

	print(ch.Name.." has been added!")
	local AnimateScript = ch:WaitForChild("Animate")
	AnimateScript.walk:WaitForChild("WalkAnim").AnimationId = "rbxassetid://5281772665""RunAnim").AnimationId = "rbxassetid://5281772665"

Hey, I was wondering if you ever figured out how to change the default walking animation? And if so, is there any chance you would be able to share your method?

For sure! You can use a humanoid description to change any humanoid’s default walking animation. For more info on humanoid description: HumanoidDescription | Documentation - Roblox Creator Hub (There’s a RunAnimation property you can change)

Yea I’ve been having a bunch of issues with trying to change the animations, heres the original post:

Did it work for you by any chance? And if so, can you share your code?

Yeah I just tested my code just now and it seems to be working fine. Here’s my code:

local newHumDesc ="HumanoidDescription")
newHumDesc.RunAnimation = 619522386

I noticed in your code you were changing the walk animation. The actual default walk animation is the run animation.

Yea everything works except the actual animation doesn’t play. The new HumanoidDescription does get applied, everything else gets reset, and the character gets reloaded. However the actual animation doesn’t seem to work.

Do you mind showing me your code?

Oh sorry about that, I used the wrong animation ID.

Fortunately I got some help regarding my original post, If you’d like to take a look here’s the link:

Although I do appreciate the help, thank you for that.

1 Like