Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Top players global script?

Asked by 7 years ago

I need help making this script or finding it. So it's really just a leaderbored of best players in the game.

1 answer

Log in to vote
0
Answered by
BlackJPI 2658 Snack Break Moderation Voter Community Moderator
7 years ago
Edited 7 years ago

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.

Ad

Answer this question