how do I get waypoints even if the path is blocked?
I’m trying to take a waypoint, but if the brick is quite high, then the waypoints come empty at all, how do I take them even if the path is blocked or not found?
local success, errorMessage = pcall(function()
path:ComputeAsync(hrp.Position, workspace.npc.HumanoidRootPart.Position)
end)
local waypoints = path:GetWaypoints()
if #waypoints > 0 then
end