How to move Player

I Already searched but i couldn’t a good answer or explanation to this, so how would i Make a pathfinder for the player?, so i can move it

Humanoid:MoveTo(Waypoint) will move your character to where you want it.

1 Like

Yeah i saw this before But im trying to do a pathfinder, so there’s no errors when the players walks, anyways thanks

Consider reading this documentation

2 Likes

Ok i did, i got to this

local pathfindingService = game:GetService("PathfindingService")

local path = pathfindingService:CreatePath()

workspace.SanJoseYTXD.Humanoid.AutoRotate = false

path:ComputeAsync(workspace.SanJoseYTXD.HumanoidRootPart.Position, Vector3.new(131.434, 0.5, 85.847))


local waypoints = path:GetWaypoints()
for index, waypoint in pairs(waypoints) do
	if waypoint.Action == Enum.PathWaypointAction.Jump then
		workspace.SanJoseYTXD.Humanoid.Jump = true
	end
	workspace.SanJoseYTXD.Humanoid:MoveTo(waypoint.Position)

	

	workspace.SanJoseYTXD.Humanoid.MoveToFinished:Wait()
end
print("PATHFIND FINISHED")

by any way you know how to detect if npc/player is stuck so i can teleport it directly to the Waypoint?

What you are wondering is a very common question among developers and there isn’t just one clear solution. Unfortunately, I suggest just looking around for some ideas and putting something together, but it will be complicated.