Help with Leaderboard UI rank

Hello, I have just started scripting as of well building. I need help with a leaderboard to UI rank. for example.

Leaderboard stats in minutes.

(player name) minutes: 500
then an overhead GUI saying Minutes/Levels: 500

My guess of code would be,

getAsyncService.ServerScriptService.(leaderboard script name)

or something around those lines. I would have to include a code in both the leaderboard and UI, if that is possible.