I am trying to list about 10 Guis in a single line, sort of like a drop down menu, except in this case they don't disappear. It worked, but not exactly how it suppose to
ChallengeList is a table that store all the Guis that I added, if the table is empty than the first gui position would be 0, 3, 0, 3 and then it add up 23 from the last Gui inserted in the table ( 3 + 23 = 26)
There no errors, but what happening is that the first two Guis position become 0, 3, 0, 3 and the third one become 26 and so on. Anyone know exactly how I can solve this problem?
Gui.Position = (ChallengeList[#ChallengeList-1] ~= nil and ChallengeList[#ChallengeList-1].Position + UDim2.new(0, 0, 0, 23)) or (UDim2.new(0, 3, 0, 3)

2 comments
Your question is confusing. Why do you care about that last item in the table? What makes the last thing special?
Well I care about the last item because the item that I am inserting into thable, position need to be based on the last item. Later in the script I am going to update the list , that why I need to store all the GUIs. By update I mean fix the positioning where they no spaces between the guis, after a gui disappear.