Hello, my game has a max of 8 players. I need to have a script that assigns a number value to each player. I know how to put a value into a player and know when they disconnect and join, but I just dont know how to give each other them their own number.
for example, player 1 = number 1, player 2 = number 2 and on and on
Thank you

3 comments
that already exists, player.UserId
good answer, also guywithapoo script requests are not allowed
well you see, I wouldnt want to use UserId because what im trying to do is give every player a number for the order they joined in, like the 27th person to join would get number 27. Its all for a script that puts players 1 and 2 into a box using the corresponding numbers for each player. I am having a difficult time explaining this, sorry. Also I do not want a full script, maybe just some ideas.