I wan't to make a script that will look inside a Parent or "Model" and find all of the children inside and at random pick "1" or "2" childs and put them into a new Parent or "Model" but i don't know how i can use math.random with the script i wan't since i'm pretty new to (math.random)
S = game.Workspace.Model1:GetChildren() --I think i do somthing like this right? But i want it to automatically get all children.
G = math.random(S)--Somthing with this?
C = G:clone()--and everything below should be right.
C.Parent = game.Workspace.Model2

3 comments
Ew. Numerical fors.
Thanks helped a lot, and also thanks for the math.random explanation!
What's so bad about numerical for loops? They are great if you are looking for an index and nothing more. What would you rather see?