-- made by Bertox
-- lul
-- Edited by Yukinoshida



 script.Parent.Parent.Parent.Parent.Electrics.Changed:connect(function()
	if script.Parent.Parent.Parent.Parent.Electrics.Value == true then
		script.Parent.Material = Enum.Material.Neon
		script.Parent.BrickColor = BrickColor.new("Medium blue")
	else
		script.Parent.Material = Enum.Material.SmoothPlastic
		script.Parent.BrickColor = BrickColor.new("Institutional white") 
	end
end)
