Checks if SpotLights are enabled, if true, make the brick (lights) neon. No idea why it's not working, so trying to get some help here.
while wait() do
if script.Parent.L.Main.Enabled == true or script.Parent.L.Fog.Enabled == true then
script.Parent.L.Material = "Neon"
script.Parent.R.Material = "Neon"
else
script.Parent.L.Material = "SmoothPlastic"
script.Parent.R.Material = "SmoothPlastic"
end
end

1 comment
What is in the Output?