So, I've got a table where each key has two values. One Value is a number, and the other is a player name. Basically trying to make a high score table. However, when I print a key of the table to the output, I get this table: 32A0F2B8 instead of the Number & Name values.
Here's the code.
if GameEnd == true then
local PlrScore = player.leaderstats.Score.Value
local Name = player.Name
table.insert(PlayerScores, {PlrScore, Name})
end
table.sort(PlayerScores)
print(PlayerScores[1])
I am assuming its giving me this random number because of the dual-value key, but I could be wrong. I would like to know why though, whatever reason it is. Any help is appreciated, and if any clarification is needed please let me know. Thanks! :)

1 comment
Oh, thanks! Appreciate the help! :D