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

how do i make Leaderstats appear in the leaderboard?

Asked by 7 years ago

when i make the leaderboard script the stats dont show in the leaderboard, how do i make them show?

0
Could you atleast post your script here? this is not a requests site for scripts! DanielDeJong3 158 — 7y
0
i fixed it, i forgot how but i must have misspelled something SLENDERMANCLONE -27 — 7y

2 answers

Log in to vote
0
Answered by 7 years ago

Put this inside a script on the workspace.

01game.Players.PlayerAdded:connect(function(Player)
02 
03    print(Player.Name..(" Connected!"))
04 
05        local Leaderstats = Instance.new("IntValue", Player)
06        Leaderstats .Name = "Leaderstats "
07        local Coin = Instance.new("IntValue", Leaderstats)
08        Coin.Name = "Coin"
09        Coin.Value= 100
10 
11end)
Ad
Log in to vote
0
Answered by
clrik 8
7 years ago

https://www.youtube.com/watch?v=4uB9Ch8Od2c

The video should give you some advice on how the work the leaderstats.

Answer this question