Your error is happening because Info doesn’t exist. I suggest restructuring your code or the way you are parenting your objects because it seems to be getting pretty messy. Regardless, you can fix it:
local info1 = result.Instance.Parent:FindFirstChild("Info")
local info2 = result.Instance.Parent.Parent:FindFirstChild("Info")
if info1 then
local lineValue = info1:FindFirstChild("LineValue")
if lineValue and lineValue.Value == 1 then
print("Found LineValue")
end
elseif info2 then
local lineValue = info2:FindFirstChild("LineValue")
if lineValue and lineValue.Value == 1 then
print("Found LineValue")
end
end