|
| 18 Jan 2016 05:22 PM |
The title says it all! I am making a pathfinding script, but do not know how to make the NPCs actually move. :MoveTo() doesn't work :/
Thank you! |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2016 05:34 PM |
To use :Move() you have to use the "Humanoid" class not the model itself
|
|
|
| Report Abuse |
|
|
| |
|
|
| 18 Jan 2016 07:23 PM |
| Are you sure the NPC joint are okay and that the part he is tracking isn't flying or something like that? |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2016 07:59 PM |
Ok to use the move to function use must be using it on a model such as a player or the FULL MODEL NOT PARTS
WRONG: game.Workspace.NPC.Torso:MoveTo(game.Workspace.Player1.Torso)
CORRECT: game.Workspace.NPC:MoveTo(game.Workspace.Player1.Torso) |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2016 08:01 PM |
Ou wait srry totally Diff thing to Make NBC'S Move just use
Humanoid.WalkToPoint = Vector3.new()
or
Humanoid.WalkToPoint = pos.Position |
|
|
| Report Abuse |
|
|