I am making a FPS called Fall of Corruption. Let's make this clear, How Call of Duty has a team changer after players are done with the match and separate from each other into another pare of 6 & 6. I'm a great builder but need help helping I'm the only one helping myself.
✓ ANSWER ACCEPTED
How to create a team change for FPS use?
2 answers
✓ Accepted answer
Just so you know, this is your only free-script you are getting from me. We don't make scripts for you. We help you with them. I will not tell you where to put this or which type of script to put it.
local redteam = {}
local blueteam ={}
function startGame()
for i=1, #game.Players.NumPlayers do
bool = not bool
if bool then
table.insert(redteam, game.Players:GetPlayers[i]);
else
table.insert(blueteam, game.Players:GetPlayers[i]);
end
end
end
Please do not ask for scripts. We only fix the scripts, we do not get questions to make something. Thats why its called ScriptingHelpers We help with scripts.
1 comment
0
Ok.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
That's kind of an odd way to go about it, but it will work. However, it will create very similar teams everytime. I would suggest pulling 6 random players and putting them into one team, and then the rest onto the other team. Voila, instant random teams.