Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to I make a walk animation for my custom starter character?

I have the walk animation, But i dont know how to actually implement it into the starter character

Here is the walk I'm trying to use

walk = 	{ 	
		{ id = "http://www.roblox.com/asset/?id=5989392991", weight = 10 } 
			}, 

and here is my locals

local Figure = script.Parent
local Torso = Figure:WaitForChild("Body")
local RightShoulder = Torso:WaitForChild("UpperStem")
local LeftShoulder = Torso:WaitForChild("LowerStem")
local RightHip = Torso:WaitForChild("Eye(White)")
local LeftHip = Torso:WaitForChild("Eye(Blue)")
local Neck = Torso:WaitForChild("Eye(Black)")
local Neck = Torso:WaitForChild("Eye(Shine)")
local Humanoid = Figure:WaitForChild("Humanoid")

I changed them to work with my custom character. I really need help. if you need the whole 400-500 lines, just open Roblox studio and get the animate script. I've had this problem for a year or so but I always just gave up. But I really do wanna make custom animations for my custom starter character

1 answer

local x
 if Character.Humanoid:FindFirstChildOfClass('HumanoidDescription') then x = Character.Humanoid:FindFirstChildOfClass('HumanoidDescription') else x = Instance.new('HumanoidDescription', Character.Humanoid)

x.WalkAnimation = 5989392991

I hope i helped!

10 comments

0

theres no way its that simple. I'll get back to you after trying it

0

It definitely worked for me.

0

Where do i put the code though? Like do i put it in startercharacterscripts or starterplayerscripts or just the character?

0

in a script located anywhere. just dont forget i typed 'character' which you have to make it like player.Character. i hope you understand

0

I forgot roblox may give the humanoid a humanoiddescription automatically so i edited it for sure :)

0

Does it go in a localscript or just a script?

0

script. if im right. i tested in script and it worked

0

how did you get my exact walk animation id?

0

you literally typed it in your script: id = "http://www.roblox.com/asset/?id=5989392991, remember?

0

Oh yeah.. Also the script isnt working, What im using is: game.Players.PlayerAdded:Connect(function(plr) plr.CharacterAdded:Wait(function(Character) local x if Character.Humanoid:FindFirstChildOfClass('HumanoidDescription') then x = Character.Humanoid:FindFirstChildOfClass('HumanoidDescription') else x = Instance.new('HumanoidDescription', Character.Humanoid) x.WalkAnimation = 5989392991

This discussion is preserved as it was. New answers, comments, and votes are closed.