Here is an example script of me trying to make a simple cointoss:
local AllTeams = {"Red Team", "Blue Team", "Orange Team", "Purple Team", "White Team"}
local randomteam1 = AllTeams[math.random(#AllTeams)]
local randomteam2 = AllTeams[math.random(#AllTeams)]
--This is what i wanted to do but you cant do this--
local CoinToss = {randomteam1, randomteam2}
local CoinTossWinner = CoinToss[math.random(#CoinToss)]
--How can I do this??
What this does is picks 2 random teams out of the "All Teams" table and what i wanted it to do after that, was I wanted it to pick a random variable so it could be like a coin toss, sadly i dont know how to do this
Any feedback is helpful, thanks.

2 comments
A random variable? Why do you need a random variable?
read the code.. I want the code to get 1 out of 2 variables randomly