function doTeam()
local playerDir = game.Players:GetPlayers();
local chosen = table.remove(playerDir, math.random(1, #playerDir));
chosen.TeamColor = game.Teams["Bright red Team"].TeamColor;
for index,value in next, playerDir do
value.TeamColor = game.Teams["Bright blue Team"].TeamColor;
end
end
while wait(7) do
doTeam()
end
COMMUNITY QUESTION
Whats wrong with this?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.
