Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make my Character's Legs Move?

Asked by 8 years ago

I have a Humanoid that I wantmoving with the legs along with the character itsef, but only ythe character moves. The legs don't animate. How do I animate the legs?

local i = 0
while i ~= 10 do
    wait(1)
    i = i + 1
    script.Parent.Humanoid:Move(Vector3.new(0,0,1),true)
end
0
Not really an answer, but you could take the animation script of player characters and re-purpose it for your NPC. Legojoker 345 — 8y

1 answer

Log in to vote
0
Answered by 8 years ago

You can instead make the NPC manually walk there by using the WalkToPoint() method/function like so:


local xyz = Vector3.new(0, 0, 0) --change to the coordinates script.Parent.Humanoid:WalkToPoint(xyz)
Ad

Answer this question