I need help making this script or finding it. So it's really just a leaderbored of best players in the game.
This is done very easily using an OrderedDataStore. It works the same as your ordinary DataStore, except it stores the value in order (either ascending or descending, you can choose) and only accepts integer values (however the keys can be anything usually accepted by DataStores).
You can check out an example of these in work at this place.
It has the same limitations as regular Data Stores.