Hello!
This is my script as of now:
local randomPlayer = game.Players:GetPlayers()
[math.random(1,#game.Players:GetPlayers())]
randomPlayer.TeamColor = BrickColor.new("Really blue")
However, when I run the game, an following error appears:
17:57:25.323 - Workspace.ao oni chooser:2: bad argument #2 to 'random' (interval is empty)
Can anyone please help? Thanks!

3 comments
Why do you have [] (Square Brackets) in line 2?
It's the index of the table returned by GetPlayers().
oh you mean its in the same line? O ok.