local t = workspace.ScreenGui.TextBox
while wait(1) do
if t.Text == "Enough Players Needed To Play!" then
workspace.NeedOneMorePlayers.Disabled = true
workspace.NeedTwoMorePlayers.Disabled = true
workspace.NeedThreeMorePlayers.Disabled = true
workspace.NeedZeroMorePlayers.Disabled = true
t.Text = "Game Starting Soon..."
wait(6)
for i = 17, 1, -1 do
t.Text = "Intermission ("..i..")"
wait(1)
end
t.Text = "Starting Game..."
-- script.Disabled = true
local plrs = game.Players:GetPlayers()
local select = table.remove(plrs,math.random(#plrs))
t.Text = "The First Seeker Will Be "..select.Name
wait(6)
local plrs = game.Players:GetPlayers()
local select2 = table.remove(plrs,math.random(#plrs))
t.Text = "The Second Seeker Will Be "..select2.Name
wait(6)
t.Text = "The Map Chosen Is..."
end
end
This is a random player chooser and once the script chooses a player how can you script it so that when it chooses, it puts them in the red team?

6 comments
We do NOT I repeat: DO NOT make free scripts. This is AGAINST the rules. Please check the wiki page and use the code here instead. http://wiki.roblox.com/index.php?title=API:Class/Player/TeamColor
If you are using the "Bright Red" color, you can select the player from Players and change their team color
Lord, you know that he has code there right? He was just asking how to put them on a team. Is that against the rules?
@MrLonely1221: https://gyazo.com/9a8a7695caaf1220bd535e401051c78f, https://gyazo.com/fe96d5247732b1b14bfdc8113289b2bb.
Don't mess with someone who actually knows their job, thanks. Oh and I think you broke the SH's community rule number 1.
Do you really? It doesn't really look like it. This is not a request, just a question. ethanlaj didn't ask anyone to write a full script for him, he asked for a solution to his particular logic problem. Plus, no community guideline was broken here today.