for _, gui in pairs(script.Parent.Abilities:GetChildren() and script.Parent.Passives:GetChildren())do
end)
As shown in the code above, when I use "and" it only loops through the 2nd argument, vice versa if I use "or" it only loops through the 1st argument. I was wondering if there is a way to achieve looping through both parameters without making 2 separate loops thanks.

2 comments
You could make a new table with all of the values inside of it. I don't really see a different way of doing it. I recommend merging the tables with a for loop.
REAL TIN CAN !! ! ! !!! ! :D WHERE HAVE U beEEEEEEEEEEEEEeeeennnnnnnnnnn