function NpcModule.GetPath(Y,Q,a)local J=PathfindingService:CreatePath(a)J:ComputeAsync(Y.HumanoidRootPart.Position,Q)if J.Status==Enum.PathStatus.Success then return J else return false end end

function NpcModule.GetPath(Npc, Pos, PathParams)

	local Path = PathfindingService:CreatePath(PathParams)

	Path:ComputeAsync(Npc.HumanoidRootPart.Position, Pos)

	if Path.Status == Enum.PathStatus.Success then
		return Path
	else 
		return false
	end
end


