Currently, the only solution that I have found is to not use the humanoid to walk, and just have it teleport to the position, which is not my goal.
Script:
wait(10) -- so I have enough time to see it
local yes = game.Workspace.Dummy
local humanoid = yes.Humanoid
local aaa = game.Workspace.DummyArea
humanoid:MoveTo(aaa.Position)
print("moved") -- prints this, doesn't move the dummy though
You should use the PathFindingService for moving your object to a specific destination. The command MoveTo() has no purpose in this script of yours.
You can use this script:
local yes = game.Workspace.Dummy local humanoid = yes.Humanoid local PathFindingService = game:GetService(“PathFindingService”) local aa = game.Workspace.DummyArea
It would create the path, and compute it, however, never would it move the character.
This is where Humanoid:MoveTo()comes in.
You index the waypoints you get by path:GetWaypoints(), and then make the humanoid walk to the waypoints.
You should also not assume that it doesn’t have a purpose in his script, because it does.
He simply wants the character to walk to the specified position, and you do not need to make it overly complex by using PathfindingService, when it’s likely just a simple straight line walk.
If the dummy needs to navigate more complex maps, then sure use PathfindingService.