How to make a revolving ui

hi so bassicly i have a system of 8 bars, but now i need to remove on bar and shift all the other bars back.

hope this photo helps, i have 8 frames here is the hirarchy and the bars go into the frames

and this is the code i have right now:

local currentgrpah = 1

local previousamount = nil

local money = 3

while true do
	wait(3)
	
	local frame = Instance.fromExisting(script.frm)
	frame.Parent = script.Parent.graph:FindFirstChild("ts" ..currentgrpah)
	local y = money / 100 * -1
	frame.Size = UDim2.new(1,0,y,0)
	frame.Position = UDim2.new(0,0,1,0)
	
	if previousamount ~= nil then
		if money > previousamount then
			frame.BackgroundColor3 = Color3.fromRGB(60, 255, 0)
		elseif money < previousamount then
			frame.BackgroundColor3 = Color3.fromRGB(255, 0, 4)
		end
	end
	previousamount = money
	money = math.random(3, 100)
	currentgrpah += 1
end

please help thank you

https://create.roblox.com/docs/reference/engine/classes/UIPageLayout

uh sorry but like i have to use a list layout not a page layout

just sort by name or layout order and just destroy one, they will automatically shift