when i make the leaderboard script the stats dont show in the leaderboard, how do i make them show?
Put this inside a script on the workspace.
01 | game.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 |
11 | end ) |
https://www.youtube.com/watch?v=4uB9Ch8Od2c
The video should give you some advice on how the work the leaderstats.