I have a game that randomly selects 2 people. The thing that's making players mad is that some people go more than others. How would I go on implementing a script to make it so that the last 2 people that have played don't go again for the next couple of games?
local Players = game.Players:GetPlayers()
math.randomseed(tick())
local Chosen1, Chosen2 = math.random(1, #Players)
repeat wait()
math.randomseed(tick())
Chosen2 = math.random(1, #Players)
until Chosen2 ~= Chosen1
local P1 = Players[Chosen1]
local P2 = Players[Chosen2]
print(P1.Name)
print(P2.Name)

1 comment
Insert the last two players into a table and check that the chosen players are not in the table , and them remove them from the table when you want them to be able to play again.