--Main Control------------------------------------------------------------------------

SideLight1 = script.Parent.SideLight1
SideLight1A = script.Parent.SideLight1A
SideLight2 = script.Parent.SideLight2
SideLight2A = script.Parent.SideLight2A
Red1 = script.Parent.Red1.Lamp.Light
Red1A = script.Parent.Red1A.Lamp.Light
Red2 = script.Parent.Red2.Lamp.Light
Red2A = script.Parent.Red2A.Lamp.Light
DRed1 = script.Parent.Red1.DynamicLight
DRed1A = script.Parent.Red1A.DynamicLight
DRed2 = script.Parent.Red2.DynamicLight
Ded2A = script.Parent.Red2A.DynamicLight
while true do
	wait()
	if Signal.Value == false then
		SideLight1.Material = "SmoothPlastic"
		SideLight1A.Material = "SmoothPlastic"
		SideLight2.Material = "SmoothPlastic"
		SideLight2A.Material = "SmoothPlastic"
		SideLight1.BrickColor = BrickColor.new(1003)
		SideLight1A.BrickColor = BrickColor.new(1003)
		SideLight2.BrickColor = BrickColor.new(1003)
		SideLight2A.BrickColor = BrickColor.new(1003)
		Red1.Visible = false
		Red1A.Visible = false
		Red2.Visible = false
		Red2A.Visible = false
		DRed1.Enabled = false
		DRed1A.Enabled = false
		DRed2.Enabled = false
		Ded2A.Enabled = false
	else
		if Flash.Value == true then
		SideLight1.Material = "Neon"
		SideLight1A.Material = "SmoothPlastic"
		SideLight2.Material = "Neon"
		SideLight2A.Material = "SmoothPlastic"
		SideLight1.BrickColor = BrickColor.new(1004)
		SideLight1A.BrickColor = BrickColor.new(1003)
		SideLight2.BrickColor = BrickColor.new(1004)
		SideLight2A.BrickColor = BrickColor.new(1003)
		Red1.Visible = true
		Red1A.Visible = false
		Red2.Visible = true
		Red2A.Visible = false
		DRed1.Enabled = true
		DRed1A.Enabled = false
		DRed2.Enabled = true
		Ded2A.Enabled = false
		else
		SideLight1.Material = "SmoothPlastic"
		SideLight1A.Material = "Neon"
		SideLight2.Material = "SmoothPlastic"
		SideLight2A.Material = "Neon"
		SideLight1.BrickColor = BrickColor.new(1003)
		SideLight1A.BrickColor = BrickColor.new(1004)
		SideLight2.BrickColor = BrickColor.new(1003)
		SideLight2A.BrickColor = BrickColor.new(1004)
		Red1.Visible = false
		Red1A.Visible = true
		Red2.Visible = false
		Red2A.Visible = true
		DRed1.Enabled = false
		DRed1A.Enabled = true
		DRed2.Enabled = false
		Ded2A.Enabled = true
		end
	end
end
