Pathfinding height

hi im ctg i need help
by somehow why my pathfinding is underground

i have none idea abt this, i even change AgentHeight but not work

local function TweenEnemy()
		local Path = PathfindingService:CreatePath({
			["AgentRadius"] = 2, 
			["AgentHeight"] = 5, 
		})
		
		Path:ComputeAsync(HumanoidRootPart, Map.Waypoint.End.Position)

		for i, v in pairs(Path:GetWaypoints()) do
			Rig:SetAttribute("PathfindingWaypoint", v.Position)
			
			local Tween = TweenService:Create(Value3V, TweenInfo.new(GetTime(v), Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0), {Value = v.Position})
			Tween:Play()
			Tween.Completed:Wait()
		end	
	end
1 Like