of     1   

Exudo
#64223882Monday, March 12, 2012 8:24 PM GMT

I'm making a mini game, and i don't know how to make it so it chooses a random map.
NewFissy
#64224074Monday, March 12, 2012 8:27 PM GMT

ModelWithMaps = game.Lighting.Maps RandomMap = ModelWithMaps:GetChildren()[math.random(1,#ModelWithMaps:GetChildren())]
Exudo
#64224100Monday, March 12, 2012 8:27 PM GMT

Thanks ;)
NXTBoy
#64227214Monday, March 12, 2012 9:12 PM GMT

Don't get the children twice!     local maps = game.Lighting.Maps:GetChildren()     local theMap = maps[math.random(#maps)]

    of     1