How do I actually implement this walking animation?

So I finished actually making the walk animation but I don’t know how to actually implement it in the game? I’ve looked it up but nothing I’ve tried has worked, also I’m not sure if this is affects it but the game is in R6.

image

1 Like

In a server script

player.CharacterAdded:Connect (function (character)
	local animateScript = character:WaitForChild ("Animate")
	local walk = animateScript:WaitForChild ("walk")
	local run = animateScript:WaitForChild ("run")
	local walkAnim = walk:WaitForChild ("WalkAnim")
	local runAnim = run:WaitForChild ("RunAnim")
	runAnim.AnimationId = "rbxassetid://"..yourAnimID -- insert anim id here
	walkAnim.AnimationId = "rbxassetid://"..0
	end)

You could test your game in studio and go to your character in the explorer, there you’ll see an Animate script. Copy it, paste it into StarterCharacterScripts and input the id of your walking animation that you can get from its page on the roblox website

This?

There’s an official article for this exact topic: