I have a two-player game where I want to get their usernames as soon as they join in the game. I would do this by assigning each player's username to separate values (fx. "Value1" and "Value2"). Value1 would be the first player's username and Value2 for the second player's username. I can not wrap my brain around how to do this, I made this script print out the player's names individually. I just don't know how I would make them get in their own separate values.
for _, player in pairs(game.Players:GetPlayers()) do
print(player.Name)
end

2 comments
You can't change player's in-game usernames.
I dont want to change the names of them, I want to get their names in two different values.