What is the current proper way to get a Player Name

I see in a lot of maps people get player names for leaderboards. What is the way they are doing this?

Hi! what you need is something like this:

using { /Verse.org/Simulation }
GetAgentName<localizes>(Agent:agent):message="{Agent}" 

The Agent would be the player. If they have streamer mode on. It returns something like Anonymous[256]. If you need to concatenate the names for Leaderboards you would need to join messages. If you transform the message to a string with Localize(Message) the name will be lost.

1 Like