Like clicking or touching a brick so it will turn on
Clicked:
Add ClickDetector To Part.
Add to part: Light, script and clickdetector.
Lua:
script.Parent.ClickDetector.MouseClick:connect(function() if script.Parent.Light.Enabled == true then script.Parent.Light.Enabled = false else script.Parent.Light.Enabled = true end end)
Touched:
Add to part: Script and light.
Lua:
script.parent.Touched:connect(function() if script.Parent.Light.Enabled == true then script.Parent.Light.Enabled = false else script.Parent.Light.Enabled = true end end)
Its simple just learn if.