Schoening Exactly. The server script takes care of incrementing the player id every time a new player joins.
The "Array int(Socket.LastDataElement(1))" part is basicaly saying:
1. get the affected player id number from the message we receive from the server. In the sample, the messages always put the player id in the second position of the message, that is why you need to get the element from the last data that resides in index 1 in the internal message array. The first position is the type of message.
2. Once the number if obtained, convert it to an int. This is because the raw network message is of text type.
3. Once the affected player id is converted to an int, use that number to lookup the UUID of the sprite that belongs to that player.