Pathfinding problems

im trying to make a pathfinding npc, it worked in the baseplate perfectly fine but when i changd the terrain it just refused to work, help.
Heres the code:

local function Pathfind()
local destination = game.Players:GetPlayers()[1].Character.PrimaryPart.Position
task.spawn(function()
local success, errorMessage = pcall(function()
path:ComputeAsync(hrp.Position, destination)
end)
if success and path.Status == Enum.PathStatus.Success then
waypoints = path:GetWaypoints()
for _, w in waypoints do
hum:MoveTo(w.Position)
end
else
warn("Path not computed!", errorMessage)
end
end)
end

Heres some footage of the problem (btw the attacks are NOT the problem)

External Media

this script does work on an empty baseplate thought


It doesnt work in THIS specific game though (the only script running is the pathfinding script)