I need help with my script I'm trying to figure out how I'd get the richest player from leaderstats (in the server the command is run)

Example: someone says ".richest" it would say

"MarkedTerritory is the richest in the server with $100K!"