of     1   

Born2Script
#139571691Monday, July 07, 2014 9:38 PM GMT

is this how you select a random map from a table? maps = game.Lighting:GetChildren() map = math.random(#maps) wait(1) clone = map:clone() The best way to guarantee a loss is to quit - Morgan Freeman
IAmTheRolo
#139571762Monday, July 07, 2014 9:39 PM GMT

maps = maps[math.random(1,#maps)]
IAmTheRolo
#139571827Monday, July 07, 2014 9:40 PM GMT

map*
AnonyAnonymous
#139572040Monday, July 07, 2014 9:41 PM GMT

Most of it is correct however, You'll need to use something like, SelectedMap = maps[map] to individually choose one. Also, change math.random(#maps) to math.random(1, #maps).
Born2Script
#139572074Monday, July 07, 2014 9:42 PM GMT

Thanks :) The best way to guarantee a loss is to quit - Morgan Freeman
Born2Script
#139573141Monday, July 07, 2014 9:51 PM GMT

I have one more question. maybe we can solve everything in one thread.. How do you make all players get put into a random team (bright red or bright blue) but at the same time, it keeps the teams balanced? The best way to guarantee a loss is to quit - Morgan Freeman
ScriptBuilder3
#139576705Monday, July 07, 2014 10:24 PM GMT

clone.Parent=Workspace
KiwiTronik
#139577086Monday, July 07, 2014 10:28 PM GMT

Put All players in a table. Have something like this: A = math.floor((#players/2)+.5) I = 0 For _,v in pairs(players) do I = I + 1 If I <= A then --get random player from table, assign team table.remove(players, v) Elseif I => A then --get random player from table, assign team table.remove(players,v) End --respawn v End I'm on ipad, ignore all the capitals :D

    of     1