of     1   

ColonelGraff
#37025801Sunday, November 14, 2010 11:39 PM GMT

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?
blocco
#37025852Sunday, November 14, 2010 11:40 PM GMT

It works.
Raphael7
#37026269Sunday, November 14, 2010 11:46 PM GMT

Yup it works good
ColonelGraff
#37026727Sunday, November 14, 2010 11:53 PM GMT

cool thanks! and also an unrelated question, if you use :findFirstChild() will it just find the only child oF an object? or what do you use to find something's only child?
Raphael7
#37036407Monday, November 15, 2010 2:20 AM GMT

It finds the child's object ex, game.Workspace.Raphael7:findFirstChild("Head"):remove() -- I think findFirstChild only works for workspace
ColonelGraff
#37063587Monday, November 15, 2010 10:45 PM GMT

no... thats not my question I meanf :findFirstChild() and NOTHING in the brackets, will that give me an object's only child

    of     1