LeaderboardEntry
LeaderboardEntry contains data for a single leaderboard entry. Returned from Leaderboard API methods with player information, score, and ranking.
Properties
The unique identifier for this leaderboard entry (usually player.user.id).
print("Entry ID: " .. entry.id)
The display name for this entry (usually player.name).
print("Player: " .. entry.name)
The current rank position of this entry (1 = first place).
print("Rank: #" .. entry.rank)
if entry.rank <= 3 then
print("Top 3 player!")
end
The score value for this entry.
print("Score: " .. entry.score)
Updated 13 days ago