Auto-Updating Leaderstats GUI

Hello developers! I am currently creating a GUI that displays how many points a user has (for mobile and for convenience), and I want it to update whenever a user earns points in-game, rather than just when they join the game.

Is there any way to make this possible?

Many thanks

1 Like

You can use a .Changed event where when somebody’s stats are changed it updates the points. If your using leader stats then it should auto-update but if not you could use something like this:

PointsValue.Changed:Connect(function(newValue)
    --Update Code Here
end)

Here is a link if you want more info: Click Here!

I’m glad if this helped :slight_smile:

2 Likes

Thanks for your help. I thought it would be something like this but didn’t know what the event name would be! :blush: