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

[URGENT] How to make my custom NPC walk to specific locations?

Asked by 4 years ago
Edited 4 years ago

This is what I have so far:

local zombie = game.Workspace.Zombie1
local humanoid = zombie.Humanoid

local pointA = game.Workspace.point1
local pointB = game.Workspace.point2

humanoid:MoveTo(pointA.PrimaryPart.Position)

humanoid.MoveToFinished:Wait()

humanoid:MoveTo(pointB.PrimaryPart.Position)

It probably isn't working because it is not a normal rig and does not have some body parts.

0
You might need to make an animation or something, but I'm not sure. I'm not the greatest with humanoids. Maxis_s 97 — 4y
0
Use WalkToPart in Humanoid EnzoTDZ_YT 275 — 4y
0
I’m away from my pc so I can’t help EnzoTDZ_YT 275 — 4y

Answer this question