How to make servers leaderboard

What I want to do is make a leaderboard that tells the top 10 players in the game with the highest score, however i want it to show the top 10 players with the highest score WHEN THEY ARE IN THE GAME, and it gets the highest score from all servers, how would i do this?

you would have to make the datastore store itself like say every couple minutes or soemthing

i just thought i would have to use messaging service or something but since i have not used messaging service before i dont know how

i basically want this to work as a cross server leaderboard

like i said im new to messaging service so i dont know how to make the leaderboard detect when a new player with a high score joins a server then updates the leaderboard

That’s why I linked it. If you don’t know something, do some research into it, look at past forum posts. Chances are, you’ll find what your looking for.