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 = Instance.new("HumanoidDescription")
humDesc.HeadColor = BrickColor.new("Medium stone grey").Color
humDesc.LeftArmColor = BrickColor.new("Medium stone grey").Color
humDesc.LeftLegColor = BrickColor.new("Medium stone grey").Color
humDesc.RightArmColor = BrickColor.new("Medium stone grey").Color
humDesc.RightLegColor = BrickColor.new("Medium stone grey").Color
humDesc.TorsoColor = BrickColor.new("Medium stone grey").Color
humDesc.WalkAnimation = 5281772665
humDesc.RunAnimation = 5281772665
Not sure if this is related but i see a warning message saying:
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.
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.