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

save leaderboard between places?

Asked by 5 years ago
Edited 5 years ago

Can Anyone Please Tell me how to save leaderboard between places? I've tried alot of tries and it always fail....

0
use the same datastore? User#23365 30 — 5y
0
can you give me example? I'm really confused about this saving scripts? xGoku_Kakarot 0 — 5y
0
use DataStoreService User#23365 30 — 5y
0
I am xGoku_Kakarot 0 — 5y
View all comments (2 more)
0
maybe you can use universes? unless you mean different places not related to yours. VeryDarkDev 47 — 5y
0
The only way to use the same dataStore is have the Places inside the same game. Here is a wiki link which explains how multi place games work. Only in these situations can you use the same dataStore. https://developer.roblox.com/articles/Multi-Place-Games Stephenthefox 94 — 5y

1 answer

Log in to vote
0
Answered by
BenSBk 781 Moderation Voter
5 years ago
Edited 5 years ago

I'm assuming you mean a point/coin/experience etc. leaderboard.

The easiest way of doing this would be to use data stores; more specifically, an OrderedDataStore. This is similar to a regular data store, except its values must be positive integers. When OrderedDataStore:GetSortedAsync is used on the ordered data store, the entries will be returned in order, based on the values.

You can learn more about data stores, as well as ordered data stores, using these Roblox Developer Hub articles:

Ad

Answer this question