Ok so my question is if you can put tables when you call a function like this:
exampleFunction(script.Parent:children())
Will this work? so the function exampleFunction would be like this:
function exampleFunction(children)
for i=1, # children do
children[i]:remove()
end
end
Does this work? |