Hello… i’m very new to scripting (Sorry for bad english )
I was trying to use path finding with a custom model
How can i achieve this
i tried the normal way but the humanoid root part only moves
local pathfinding = game:GetService("PathfindingService")
local human = script.Parent:WaitForChild("Humanoid")
local torso = script.Parent:WaitForChild("Torso")
local path = pathfinding:CreatePath()
path:ComputeAsync(torso.Position, game.Workspace.End.Position)
wait(5)
local waypoint = path:GetWaypoints()
for i,v in pairs(waypoint) do
human:MoveTo(v.Position)
human.MoveToFinished:wait(2)
end
still nope The issue is still the same
(as i am very new to scripting is there a forum or wiki that helps me understanding my issue , srry for bad english)