Hi I was wondering if you could display the stats on the leaderboard in a textlabel. For example you have 4000 points in your balance. Can you please help me with this?
When you have leaderstats, the layout should look like this:
Players Player leaderstats Points
A TextLabel in a ScreenGui can easily access these stats using a LocalScript.
game.Players.LocalPlayer.leaderstats.Points.Changed:connect(function() --This checks if the "Points" stat changed. script.Parent.Text = game.Players.LocalPlayer.leaderstats.Points.Value end)
If you are trying to show your stats, you would do this.
P = game.Players.LocalPlayer script.Parent.Text = "Points: "..P.leaderstats.Points.Value end
Just insert this script directly into your local script located in the text label. And if you arent using leaderstats for a stat holder, change the name to whatever holder you are using.