How to make a simple global leaderboard

oh okay, i actually understanded. Im working on a private Project, and i was searching a global leaderstats for my own game.

Value is not a valid member of Frame “EekPlayz09”

named the value gui score instead of value

The leaderboard does not save for some reason?

Please see the notice at the top. You’ll have to convert this leaderboard from using PointsService to datastores.

It’s on my to do list to get this tutorial updates but I’ve got a lot on my plate at the moment unfortunately.

Idk if its my fault but it doesn’t work

This method does work, and is still working as of 2024. You’ll have to switch off of PointsService, though.

How can ı save large number. e.g. 100Oc 154No etc.

If you’re working with large numbers (greater than the limit of roblox numbers), you probably will need to encode the data with less precision. For example, instead of storing 5.5, 10.3, 15.2, you could store 1, 2, 3 by doing int division of 5, allowing for 5 times as many values. In your case, it might be better to store a power instead of a number, for example instead of 100, 1000, 10000, you could store 2, 3, 4. (10^x to get back your number).

I’d recommend looking at how other games handle this as this is a common enough problem in computing that there are many possible solutions.

2 Likes

This tutorial is great for a beginner scripter like me. Thanks, But when I was following the tutorial I didn’t see any pictures for the UI so I couldn’t figure out the configurations where to put the UI at. Can you update the pictures?

This post is old enough that at some point when the devfourm was updated the images were lost. I don’t have the originals - it is on my todo list to remake this tutorial at some point but I don’t know when.

For reference: Images, gif, video links and avatars appear broken