local function K(K,i,d)local L=Soundbar[tostring(K)].Size.Y.Scale if i>L then Set(K,L+(i-L)/3,d)end end function Set(i,d,L)Quad(Soundbar[tostring(i)],d,"\079\117\116",.1)if i>0 and L~=1 then K(i-1,d,-1)end if i<nBars and L~=-1 then K(i+1,d,1)end end
-- BAR MANIPULATION --
local function CheckSet(N, S, D) -- Number, Scale, Direction
	local nS = Soundbar[tostring(N)].Size.Y.Scale
	if S > nS then
		Set(N, nS + (S - nS) / 3, D)
	end
end

function Set(N, S, D) -- Number, Scale, Direction
	Quad(Soundbar[tostring(N)], S, "Out", 0.1) -- Grabs the bar and tweens
	if N > 0 and D ~= 1 then -- Checks left for smaller bars to manipulate
		CheckSet(N - 1, S, -1)
	end
	if N < nBars and D ~= -1 then -- Checks right...
		CheckSet(N + 1, S, 1)
	end
end
