task.spawn(function () while true do task.wait(0.1) local vents = workspace.Map.Functional.Vents:GetChildren() for a,b in pairs(vents) do for c,d in pairs(b:GetChildren())do if d.Name == "Vent Part" then for e,f in pairs(d:GetChildren())do if f.Name == "Pivot" then for g,h in pairs(f:GetChildren())do if h.Name == "Attachment" then local proximity = h:FindFirstChild("ProximityPrompt") proximity.HoldDuration = 0 local actiontext = proximity.ActionText if b and not b:FindFirstChildOfClass("Highlight") then local highlight = Instance.new("Highlight") highlight.Parent = b end if actiontext == "Repair" then local highlight = b:FindFirstChildOfClass("Highlight") highlight.FillColor = Color3.fromRGB(255,0,0) highlight.Enabled = true else local highlight = b:FindFirstChildOfClass("Highlight") highlight.FillColor = Color3.fromRGB(0,255,0) highlight.Enabled = false end end end end end end end end end end)