I was working with this code of mine, whenever I tested it, the player would be added to the table, but not removed. This table is changed when a player joins or leaves the game.
I tried to do it in a Server script, however, I ran into a couple of issues. It may have just been user error.
Whenever I printed the table when the player joins and leaves, the player would be in the table. When the player left, it seems that they are still in the table since it still prints their name. When they rejoin, they are still in the table.
Feedback about what I should try to do would be very appreciated.