#Best method, table or no table
1 messages · Page 1 of 1 (latest)
Ehh idk if for loops really need wrappers like that, also dont really understand what you try to achieve
Also you can get rid of ipairs
Roblox already does that
1 messages · Page 1 of 1 (latest)
Hello, I have a function where i pass multiple frame to destroy child, and I want to know which way is the best, table or no table ?
local function TEST
for _, GuiObject in ipairs({...}) do
-- code
end
Or
local function TEST
for i = 1, select("#", ...) do
local GuiObject = select(i, ...)
-- code
end
Ehh idk if for loops really need wrappers like that, also dont really understand what you try to achieve
Also you can get rid of ipairs
Roblox already does that