---RoundSystem
--------------------
MapList = {Template = {SpawnsPerTeam = 1,Time = 1400,Ambient = Vector3.new(150,150,150)}}
Gamemodes = {TeamDeathMatch = {MaxKills = 75,Teams = 2,Time = 5}}
Team1 = {}
Team2 = {}
Time = {Start = 5 * 60,Finish = 0,Current = 0}
GameInfo = {}
function NewRound()
print(#MapList)
Map = math.random(1)
Gamemode = math.random(1,#Gamemodes)
table.insert(GameInfo,#GameInfo + 1, Map)
table.insert(GameInfo,#GameInfo + 1,Gamemode)
print(GameInfo[1])
print(GameInfo[2])
end
wait(1)
NewRound()
returning print(#MapList) as 0....

1 comment
Thanks! I got a way around it though.