Ive been trying to fix it but the npc or model wont move and when it does it just stops can anyone do anything? The Error is at line 12 and the problem is with AI Path Finding please help im in desperate need.
local function getPath(Point)
local PathfindingService = game:GetService("PathfindingService")
local pathParams = {
["AgentHeight"] = 13,
["AgentRadius"] = 3,
["AgentCanJump"] = true
}
local path = PathfindingService:CreatePath(pathParams)
path:ComputeAsync(Bot.HumanoidRootPart.Position, Point.Position)
return path
end
local function walkTo(Point)
local path = getPath(Point)
if path.Status == Enum.PathStatus.Success then
for index, waypoint in pairs(path:GetWaypoints()) do
Humanoid:MoveTo(waypoint.Position)
Humanoid.MoveToFinished:Wait()

6 comments
what's the error
Error : Position is not a valid member of RotateP "Workspace.FacilityBotWaypoints.STFU NOOB"
okay
well i think you should do RotateP.C0.Position or RotateP.C1.Position because RotateP is not a part
So i used the C0.Position but then i got an error that says : C0 is not a valid member of Part "Workspace.FacilityBotWaypoints.Point"
no, he meant workspace.FacilityBotWaypoints.STFUNOOB.C0.Position