So, im trying to make a list of textlabes, and every second a new textlabel is added to the list. I’d like to have the newest textlabel on the top of the list, like this:
But roblox by default places the newest label to the bottom, like this:
So, how can I make it so that the newest label is always on the top?
while true do
wait(number of seconds)
local maxnumber = 999
for i = maxnumber,0,-1 do
i = i - 1
local teztlabel = Instance.new("TextLabel", [Insert Frame here])
tEXTlabel.text = i
end
end
Using UIListLayout you can first specify the type of layout order in your guiobject, and then select SortOrder in the list layout according to this order: