Managing multiple labels in pairs

I’m attempting to manage multiple textlabels at once, instead of repeating the code itself. I’m using “for in pairs” method, but it doesn’t seem to function as intended. I’d state I’m a beginner at this, so if possible, I’d like an elaborated feedback on how to resolve this issue accurately. What’s the concurrent issue with this code here?

game.ReplicatedFirst:RemoveDefaultLoadingScreen()
 if game:IsLoaded() then do
    for _, i in pairs(dogesTxt, swordTxt, fgameTxt) do
      i.TextTransparency = 1
      end 
   end
end

The error I receives this: 12: bad argument #1 (table expected, got Object)

As said in the error, that loop is getting an instance/object instead of a table. For that loop to work, you are required to insert a table. GetChildren and GetDescendants returns an array (table) of children from a parent. Also, it only requires 1 argument, not multiple.

for i,v in pairs(Instance:GetChildren()) do
 print(v.Name)
end

You can also create a table and add the instance inside the table.

local table = {GUI1, GUI2, GUI3} --Contents are objects, not names

for i,v in pairs(table) do
print(v.Name)
end