--Institutional white
--Electric blue


function SetDigit(Value)
wait(0.55)
	if Value == "0" then
		SP.D1.BrickColor = BrickColor.new("Really red")
		SP.D2.BrickColor = BrickColor.new("Electric blue")
		SP.D3.BrickColor = BrickColor.new("Electric blue")
		SP.D4.BrickColor = BrickColor.new("Really red")
		SP.D5.BrickColor = BrickColor.new("Really red")
		SP.D6.BrickColor = BrickColor.new("Electric blue")
		SP.D7.BrickColor = BrickColor.new("Electric blue")
		SP.D8.BrickColor = BrickColor.new("Electric blue")
		SP.D9.BrickColor = BrickColor.new("Electric blue")
		SP.D10.BrickColor = BrickColor.new("Electric blue")
		SP.D11.BrickColor = BrickColor.new("Electric blue")
		SP.D12.BrickColor = BrickColor.new("Really red")
		SP.D13.BrickColor = BrickColor.new("Really red")
		SP.D14.BrickColor = BrickColor.new("Really red")
		return
	end
	if Value == "1" then
		SP.D1.BrickColor = BrickColor.new("Electric blue")
		SP.D2.BrickColor = BrickColor.new("Electric blue")
		SP.D3.BrickColor = BrickColor.new("Electric blue")
		SP.D4.BrickColor = BrickColor.new("Electric blue")
		SP.D5.BrickColor = BrickColor.new("Electric blue")
		SP.D6.BrickColor = BrickColor.new("Electric blue")
		SP.D7.BrickColor = BrickColor.new("Electric blue")
		SP.D8.BrickColor = BrickColor.new("Electric blue")
		SP.D9.BrickColor = BrickColor.new("Electric blue")
		SP.D10.BrickColor = BrickColor.new("Electric blue")
		SP.D11.BrickColor = BrickColor.new("Electric blue")
		SP.D12.BrickColor = BrickColor.new("Institutional white")
		SP.D13.BrickColor = BrickColor.new("Electric blue")
		SP.D14.BrickColor = BrickColor.new("Institutional white")
		return
	end
	if Value == "M" then
		SP.D1.BrickColor = BrickColor.new("Institutional white")
		SP.D2.BrickColor = BrickColor.new("Institutional white")
		SP.D3.BrickColor = BrickColor.new("Institutional white")
		SP.D4.BrickColor = BrickColor.new("Institutional white")
		SP.D5.BrickColor = BrickColor.new("Electric blue")
		SP.D6.BrickColor = BrickColor.new("Electric blue")
		SP.D7.BrickColor = BrickColor.new("Electric blue")
		SP.D8.BrickColor = BrickColor.new("Electric blue")
		SP.D9.BrickColor = BrickColor.new("Electric blue")
		SP.D10.BrickColor = BrickColor.new("Electric blue")
		SP.D11.BrickColor = BrickColor.new("Electric blue")
		SP.D12.BrickColor = BrickColor.new("Institutional white")
		SP.D13.BrickColor = BrickColor.new("Institutional white")
		SP.D14.BrickColor = BrickColor.new("Electric blue")
		return
	end
	if Value == "3" then
		SP.D1.BrickColor = BrickColor.new("Really red")
		SP.D2.BrickColor = BrickColor.new("Really red")
		SP.D3.BrickColor = BrickColor.new("Really red")
		SP.D4.BrickColor = BrickColor.new("Really red")
		SP.D5.BrickColor = BrickColor.new("Really black")
		SP.D6.BrickColor = BrickColor.new("Really black")
		SP.D7.BrickColor = BrickColor.new("Really black")
		SP.D8.BrickColor = BrickColor.new("Really black")
		SP.D9.BrickColor = BrickColor.new("Really black")
		SP.D10.BrickColor = BrickColor.new("Really black")
		SP.D11.BrickColor = BrickColor.new("Really black")
		SP.D12.BrickColor = BrickColor.new("Really red")
		SP.D13.BrickColor = BrickColor.new("Really black")
		SP.D14.BrickColor = BrickColor.new("Really red")
		return
	end
	if Value == "4" then
		SP.D1.BrickColor = BrickColor.new("Really black")
		SP.D2.BrickColor = BrickColor.new("Really red")
		SP.D3.BrickColor = BrickColor.new("Really red")
		SP.D4.BrickColor = BrickColor.new("Really black")
		SP.D5.BrickColor = BrickColor.new("Really red")
		SP.D6.BrickColor = BrickColor.new("Really black")
		SP.D7.BrickColor = BrickColor.new("Really black")
		SP.D8.BrickColor = BrickColor.new("Really black")
		SP.D9.BrickColor = BrickColor.new("Really black")
		SP.D10.BrickColor = BrickColor.new("Really black")
		SP.D11.BrickColor = BrickColor.new("Really black")
		SP.D12.BrickColor = BrickColor.new("Really red")
		SP.D13.BrickColor = BrickColor.new("Really black")
		SP.D14.BrickColor = BrickColor.new("Really red")
		return
	end
	if Value == "5" then
		SP.D1.BrickColor = BrickColor.new("Really red")
		SP.D2.BrickColor = BrickColor.new("Really red")
		SP.D3.BrickColor = BrickColor.new("Really red")
		SP.D4.BrickColor = BrickColor.new("Really red")
		SP.D5.BrickColor = BrickColor.new("Really red")
		SP.D6.BrickColor = BrickColor.new("Really black")
		SP.D7.BrickColor = BrickColor.new("Really black")
		SP.D8.BrickColor = BrickColor.new("Really black")
		SP.D9.BrickColor = BrickColor.new("Really black")
		SP.D10.BrickColor = BrickColor.new("Really black")
		SP.D11.BrickColor = BrickColor.new("Really black")
		SP.D12.BrickColor = BrickColor.new("Really black")
		SP.D13.BrickColor = BrickColor.new("Really black")
		SP.D14.BrickColor = BrickColor.new("Really red")
		return
	end
	if Value == "6" then
		SP.D1.BrickColor = BrickColor.new("Really red")
		SP.D2.BrickColor = BrickColor.new("Really red")
		SP.D3.BrickColor = BrickColor.new("Really red")
		SP.D4.BrickColor = BrickColor.new("Really red")
		SP.D5.BrickColor = BrickColor.new("Really red")
		SP.D6.BrickColor = BrickColor.new("Really black")
		SP.D7.BrickColor = BrickColor.new("Really black")
		SP.D8.BrickColor = BrickColor.new("Really black")
		SP.D9.BrickColor = BrickColor.new("Really black")
		SP.D10.BrickColor = BrickColor.new("Really black")
		SP.D11.BrickColor = BrickColor.new("Really black")
		SP.D12.BrickColor = BrickColor.new("Really black")
		SP.D13.BrickColor = BrickColor.new("Really red")
		SP.D14.BrickColor = BrickColor.new("Really red")
		return
	end
	if Value == "7" then
		SP.D1.BrickColor = BrickColor.new("Really red")
		SP.D2.BrickColor = BrickColor.new("Really black")
		SP.D3.BrickColor = BrickColor.new("Really black")
		SP.D4.BrickColor = BrickColor.new("Really black")
		SP.D5.BrickColor = BrickColor.new("Really black")
		SP.D6.BrickColor = BrickColor.new("Really black")
		SP.D7.BrickColor = BrickColor.new("Really black")
		SP.D8.BrickColor = BrickColor.new("Really black")
		SP.D9.BrickColor = BrickColor.new("Really black")
		SP.D10.BrickColor = BrickColor.new("Really black")
		SP.D11.BrickColor = BrickColor.new("Really black")
		SP.D12.BrickColor = BrickColor.new("Really red")
		SP.D13.BrickColor = BrickColor.new("Really black")
		SP.D14.BrickColor = BrickColor.new("Really red")
		return
	end
	if Value == "8" then
		SP.D1.BrickColor = BrickColor.new("Really red")
		SP.D2.BrickColor = BrickColor.new("Really red")
		SP.D3.BrickColor = BrickColor.new("Really red")
		SP.D4.BrickColor = BrickColor.new("Really red")
		SP.D5.BrickColor = BrickColor.new("Really red")
		SP.D6.BrickColor = BrickColor.new("Really black")
		SP.D7.BrickColor = BrickColor.new("Really black")
		SP.D8.BrickColor = BrickColor.new("Really black")
		SP.D9.BrickColor = BrickColor.new("Really black")
		SP.D10.BrickColor = BrickColor.new("Really black")
		SP.D11.BrickColor = BrickColor.new("Really black")
		SP.D12.BrickColor = BrickColor.new("Really red")
		SP.D13.BrickColor = BrickColor.new("Really red")
		SP.D14.BrickColor = BrickColor.new("Really red")
		return
	end
	if Value == "9" then
		SP.D1.BrickColor = BrickColor.new("Really red")
		SP.D2.BrickColor = BrickColor.new("Really red")
		SP.D3.BrickColor = BrickColor.new("Really red")
		SP.D4.BrickColor = BrickColor.new("Really red")
		SP.D5.BrickColor = BrickColor.new("Really red")
		SP.D6.BrickColor = BrickColor.new("Really black")
		SP.D7.BrickColor = BrickColor.new("Really black")
		SP.D8.BrickColor = BrickColor.new("Really black")
		SP.D9.BrickColor = BrickColor.new("Really black")
		SP.D10.BrickColor = BrickColor.new("Really black")
		SP.D11.BrickColor = BrickColor.new("Really black")
		SP.D12.BrickColor = BrickColor.new("Really red")
		SP.D13.BrickColor = BrickColor.new("Really black")
		SP.D14.BrickColor = BrickColor.new("Really red")
		return
	end
	if Value == "G" then
		SP.D1.BrickColor = BrickColor.new("Really red")
		SP.D2.BrickColor = BrickColor.new("Really red")
		SP.D3.BrickColor = BrickColor.new("Really black")
		SP.D4.BrickColor = BrickColor.new("Really red")
		SP.D5.BrickColor = BrickColor.new("Really red")
		SP.D6.BrickColor = BrickColor.new("Really black")
		SP.D7.BrickColor = BrickColor.new("Really black")
		SP.D8.BrickColor = BrickColor.new("Really black")
		SP.D9.BrickColor = BrickColor.new("Really black")
		SP.D10.BrickColor = BrickColor.new("Really black")
		SP.D11.BrickColor = BrickColor.new("Really black")
		SP.D12.BrickColor = BrickColor.new("Really black")
		SP.D13.BrickColor = BrickColor.new("Really red")
		SP.D14.BrickColor = BrickColor.new("Really red")
		return
	end
	if Value == "P" then
		SP.D1.BrickColor = BrickColor.new("Really red")
		SP.D2.BrickColor = BrickColor.new("Really red")
		SP.D3.BrickColor = BrickColor.new("Really red")
		SP.D4.BrickColor = BrickColor.new("Really black")
		SP.D5.BrickColor = BrickColor.new("Really red")
		SP.D6.BrickColor = BrickColor.new("Really black")
		SP.D7.BrickColor = BrickColor.new("Really black")
		SP.D8.BrickColor = BrickColor.new("Really black")
		SP.D9.BrickColor = BrickColor.new("Really black")
		SP.D10.BrickColor = BrickColor.new("Really black")
		SP.D11.BrickColor = BrickColor.new("Really black")
		SP.D12.BrickColor = BrickColor.new("Really red")
		SP.D13.BrickColor = BrickColor.new("Really red")
		SP.D14.BrickColor = BrickColor.new("Really black")
		return
	end
	if Value == "R" then
		SP.D1.BrickColor = BrickColor.new("Really red")
		SP.D2.BrickColor = BrickColor.new("Really red")
		SP.D3.BrickColor = BrickColor.new("Really red")
		SP.D4.BrickColor = BrickColor.new("Really black")
		SP.D5.BrickColor = BrickColor.new("Really red")
		SP.D6.BrickColor = BrickColor.new("Really black")
		SP.D7.BrickColor = BrickColor.new("Really black")
		SP.D8.BrickColor = BrickColor.new("Really black")
		SP.D9.BrickColor = BrickColor.new("Really black")
		SP.D10.BrickColor = BrickColor.new("Really red")
		SP.D11.BrickColor = BrickColor.new("Really black")
		SP.D12.BrickColor = BrickColor.new("Really red")
		SP.D13.BrickColor = BrickColor.new("Really red")
		SP.D14.BrickColor = BrickColor.new("Really black")
		return
	end
	if Value == "2" then
		SP.D1.BrickColor = BrickColor.new("Electric blue")
		SP.D2.BrickColor = BrickColor.new("Electric blue")
		SP.D3.BrickColor = BrickColor.new("Electric blue")
		SP.D4.BrickColor = BrickColor.new("Electric blue")
		SP.D5.BrickColor = BrickColor.new("Institutional white")
		SP.D6.BrickColor = BrickColor.new("Electric blue")
		SP.D7.BrickColor = BrickColor.new("Electric blue")
		SP.D8.BrickColor = BrickColor.new("Institutional white")
		SP.D9.BrickColor = BrickColor.new("Institutional white")
		SP.D10.BrickColor = BrickColor.new("Electric blue")
		SP.D11.BrickColor = BrickColor.new("Electric blue")
		SP.D12.BrickColor = BrickColor.new("Institutional white")
		SP.D13.BrickColor = BrickColor.new("Institutional white")
		SP.D14.BrickColor = BrickColor.new("Institutional white")
		return
	end
end




SP.Value.Changed:connect(function() SetDigit(SP.Value.Value) end)
