sp=script.Parent sp.Luminate.SourceValueChanged:connect(function(A)if A==1 then sp.BrickColor=BrickColor.new("\087\104\105\116\101")sp.Transparency=0 sp.PointLight.Enabled=true elseif A==0 then sp.BrickColor=BrickColor.new("\082\101\097\108\108\121 \098\108\097\099\107")sp.Transparency=.5 sp.PointLight.Enabled=false end end)script.Parent.Configuration.Brightness.Changed:connect(function()script.Parent.PointLight.Range=script.Parent.Configuration.Brightness.Value script.Parent.PointLight.Brightness=1+script.Parent.Configuration.Brightness.Value/300 end)






sp=script.Parent

sp.Luminate.SourceValueChanged:connect(function(val)
	if val==1 then
		sp.BrickColor=BrickColor.new("White")
		sp.Transparency=0
		sp.PointLight.Enabled=true
	elseif val==0 then
		sp.BrickColor=BrickColor.new("Really black")
		sp.Transparency=.5
		sp.PointLight.Enabled=false
	end
end)

script.Parent.Configuration.Brightness.Changed:connect(function()
script.Parent.PointLight.Range = script.Parent.Configuration.Brightness.Value
script.Parent.PointLight.Brightness = 1+script.Parent.Configuration.Brightness.Value/300
end)



