game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) local key = "player_".. player.UserId
Your code is just building a String by concatenating ("combining") the left and right hand side of the "two dots operator" (..
). The Lua Manual can help you with understanding it a bit more.
Basically, you want to brush up on your programming basics a bit more!
What you can do is try run this code and then check the Output
tab, and maybe you get a better idea of it:
print("player_".. player.UserId)
Also note that you have not posted the entire code. The key
("player_".. player.UserId
) is probably just a string that is used to store and identify some data associated with a given player in a table.