(This.Parent.Parent.Parent.Parent.Parent:WaitForChild("\068\105\114\101\099\116\105\111\110")).Changed:connect(function(d)if d==1 then for d=1,7,1 do for R=1,5,1 do This.Display.Matrix1["\082\111\119"..d]["\068"..R].ImageColor3=UColor end end repeat SetDisplay(1,"\085\048")wait(ArrowDelay)SetDisplay(1,"\085\049")wait(ArrowDelay)SetDisplay(1,"\085\050")wait(ArrowDelay)SetDisplay(1,"\085\051")wait(ArrowDelay)SetDisplay(1,"\085\052")wait(ArrowDelay)SetDisplay(1,"\085\053")wait(ArrowDelay)SetDisplay(1,"\085\054")wait(ArrowDelay)until This.Parent.Parent.Parent.Parent.Parent.Direction.Value~=1 SetDisplay(1,"\078\073\076")elseif d==-1 then for d=1,7,1 do for R=1,5,1 do This.Display.Matrix1["\082\111\119"..d]["\068"..R].ImageColor3=DColor end end repeat SetDisplay(1,"\068\048")wait(ArrowDelay)SetDisplay(1,"\068\049")wait(ArrowDelay)SetDisplay(1,"\068\050")wait(ArrowDelay)SetDisplay(1,"\068\051")wait(ArrowDelay)SetDisplay(1,"\068\052")wait(ArrowDelay)SetDisplay(1,"\068\053")wait(ArrowDelay)SetDisplay(1,"\068\054")wait(ArrowDelay)until This.Parent.Parent.Parent.Parent.Parent.Direction.Value~=-1 SetDisplay(1,"\078\073\076")else SetDisplay(1,"\078\073\076")end end)
-- -- -- -- -- -- --
--DIRECTION SCROLL--
-- -- -- -- -- -- --

This.Parent.Parent.Parent.Parent.Parent:WaitForChild("Direction").Changed:connect(function(val)
	if val == 1 then
		for R = 1, 7 do
			for D = 1, 5 do
				This.Display["Matrix" .. 1]["Row" .. R]["D" .. D].ImageColor3 = UColor
			end
		end
		repeat
			SetDisplay(1, "U0")
			wait(ArrowDelay)
			SetDisplay(1, "U1")
			wait(ArrowDelay)
			SetDisplay(1, "U2")
			wait(ArrowDelay)
			SetDisplay(1, "U3")
			wait(ArrowDelay)
			SetDisplay(1, "U4")
			wait(ArrowDelay)
			SetDisplay(1, "U5")
			wait(ArrowDelay)
			SetDisplay(1, "U6")
			wait(ArrowDelay)
		until This.Parent.Parent.Parent.Parent.Parent.Direction.Value ~= 1
		SetDisplay(1, "NIL")
	elseif val == -1 then
		for R = 1, 7 do
			for D = 1, 5 do
				This.Display["Matrix" .. 1]["Row" .. R]["D" .. D].ImageColor3 = DColor
			end
		end
		repeat
			SetDisplay(1, "D0")
			wait(ArrowDelay)
			SetDisplay(1, "D1")
			wait(ArrowDelay)
			SetDisplay(1, "D2")
			wait(ArrowDelay)
			SetDisplay(1, "D3")
			wait(ArrowDelay)
			SetDisplay(1, "D4")
			wait(ArrowDelay)
			SetDisplay(1, "D5")
			wait(ArrowDelay)
			SetDisplay(1, "D6")
			wait(ArrowDelay)
		until This.Parent.Parent.Parent.Parent.Parent.Direction.Value ~= -1
		SetDisplay(1, "NIL")
	else
		SetDisplay(1, "NIL")
	end
end)
