while true do wait(5)--intermission maps = game.ServerStorage.Maps:GetChildren() map = maps[math.random(1, #maps)] map:Clone().Parent = game.Workspace blue = 0 red = 0 local teamplay = game.Players:GetChildren() for i = 1,game.Players.NumPlayers do local ran = math.random(1,game.Players.NumPlayers) if blue == red then -- if they are the same it is randomely generated br = math.random(1,2) if br == 1 then teamplay[ran].TeamColor = BrickColor.new("Bright blue") elseif br == 2 then teamplay[ran].TeamColor = BrickColor.new("Bright red") end elseif red >= blue then teamplay[ran].TeamColor = BrickColor.new("Bright red") elseif blue >= red then teamplay[ran].TeamColor = BrickColor.new("Bright blue") end end
How come when I enter "Play Solo" none of the teams actually appear onto the leaderboard?
I am a mediocre scripter at best, however I would look to see if you have the teams service inserted into the game. If it is add in the teams and then run the game to see if it works. You could also just add the team service, add the teams, and set auto assign to them. Then make a script for the maps. Just a thought, again new to scripting.