-- -- -- -- -- -- --
--DIRECTION SCROLL--
-- -- -- -- -- -- --


This.Parent.Parent.Parent.Parent:WaitForChild("Direction", 120).Changed:connect(function(val)
	if val == 1 then
		This.Frame.Direction.Text = "▲"
		repeat
			for i = 0.2, -0.8, -0.02 do
				This.Frame.Direction.UIGradient.Offset = Vector2.new(0,i)
				wait()
			end
		until This.Parent.Parent.Parent.Parent.Direction.Value ~= 1
	elseif val == -1 then
		This.Frame.Direction.Text = "▼"
		repeat
			for i = -0.8, 0.2, 0.02 do
				This.Frame.Direction.UIGradient.Offset = Vector2.new(0,i)
				wait()
			end
		until This.Parent.Parent.Parent.Parent.Direction.Value ~= -1
	else
		This.Frame.Direction.Text = ""
	end
end)