--BROUGHT TO YOU BY RobloxScripter.com!--
local PopTheLock = game.Workspace["PopTheLockCommunication"]:FindFirstChild("PopTheLock")
local Computer = PopTheLock:FindFirstChild("InteractiveComputerSystem")
local activeLight = Computer:FindFirstChild("ActiveLight")
local selectedLight = Computer:FindFirstChild("SelectedLight")
local button = Computer:FindFirstChild("Button")
activeLight:GetPropertyChangedSignal("Value"):connect(function()
if activeLight.Value == selectedLight.Value then
fireclickdetector(button.ClickDetector)
end
end)