Save player names after they have left the game?

I am building a Doom parkour map and I want to create a leaderboard with the best run times. The idea is that even if a player leaves, his name stays on the leaderboard (until the server resets, of course). I was appending the player names to a global variable using the “Event Player” value but after leaving and re-joining the game, the player names show up as “Entity [some ID number]”.

I know you can’t store strings as variables, but is there any way to achieve this?

it’s a bug,
i create TOP10 im my mode
u can check it

Game mode: hero escape