local part = workspace.Part
local spotlight = part.SpotLight
local Enabled = true
script.Parent.ClickDetector.MouseClick:connect(function()
if spotlight == Enabled then
Enabled = false
elseif Enabled == true then
Enabled = true
end
end)
if you can, explain the answer so i can learn :3
