I Don't Know How Do i make It But The Code Below Is A Test And It Failed (Duh lol) And FOR SOME REASON IT COUNTS THE SCRIPT LIKE I MEAN WHAAAAAAAAAT???????
So If You Can Fix IT Thanks You Can Use Your Own Script Instead Of Fixing My Script
game:GetService("RunService").RenderStepped:Connect(function() local Object = {} for i,v in pairs(script.Parent:GetChildren()) do if script.Slots.Value >= script.Parent.UIGridLayout.FillDirectionMaxCells then local last = script.Slots.Value print(last) -- It Print The Object I Dont want To Print Like The Script And UI GRID LAYOUT end if v:IsA('TextLabel') then script.Slots.Value = i Object[i] = v end end end)