I only know how to enable lights, but I don't now how to disable the lights with a second click.
local switch = script.Parent
local light1 = script.Parent.Parent.light1.SpotLight
local light2 = script.Parent.Parent.light2.SpotLight
light1.Enabled = false
light2.Enabled = false
local function onClick(clicked)
light1.Enabled = true
light2.Enabled = true
end
switch.ClickDetector.MouseClick:connect(onClick)
