Trying to Clone Random Map To Folder

Because RandomChoose it just a number between 1 and #GetChild. Your basically asking it to clone a number

soo how i clone the choosen number’s model?

Use RandomNumber to index the table of the maps and clone it.

1 Like

You get all the children from the folder that stores the maps, and then choose a random child out of it and clone and parent it.

1 Like

can you please show me i don’t really undarstand how to store them

can you show me i don’t really understand that

It seems like you still don’t understand folders and tables well, I advise you to watch a tutorial about it.

Use your logic. You literally stated that variable in your script.

local ChosenMap=GetChild[math.random(1, #GetChild)]

Now ChosenMap holds the model of the random map

1 Like

thank you very much now i understood

1 Like