And so forth with however many more items are on the table?
Rename your TextLabels something like 't1', 't2', up to however many you need, so it's easier to get the number.
local gui = script.Parent local a = {} -- insert your stuff here for i = 1,#a do local find = gui:FindFirstChild("t" ..i) if find then find.Text = a[i] end end