My pathfinding script stops when something is in front of it. I don't want this because my doors open when the npc touches the door. how would I modify this script to make it not stop?

local PathfindingService = game:GetService("PathfindingService")

local human = script.Parent:WaitForChild("Humanoid")
local torso = script.Parent:WaitForChild("Torso")
local path = PathfindingService:CreatePath()
path:ComputeAsync(torso.Position, game.Workspace.endingpart.Position)
local waypoints = path:GetWaypoints()

for i, waypoint in pairs (waypoints) do
	if waypoint.Action == Enum.PathWaypointAction.Jump then
		human:ChangeState(Enum.HumanoidStateType.Jumping)
	end

	human:MoveTo(waypoint.Position)
	human.MoveToFinished:Wait(2)
end