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

How can you make an NPC walk?

So, I need an NPC to walk to certain points, but I want it to walk like a ROBLOXian. For the position can I do block.position

Thanks.

2 answers

For movement you use this:

NPC.Humanoid:MoveTo(Vector3.new(0,0,0), game.Workspace.BasePlate)

Change the Vector to the position you want.

For the animations you need an Animate script.

(Continuing from Hashiru) If you want the animation asset, you can find it in your player, simply start a test run of your game, find where your player is located, and you can find the animation scripts & assets in there, just copy them all over to your NPC and it should work.

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