Here you are:
01 | game.Players.PlayerAdded:Connect( function (player) |
02 | local leaderstats = Instance.new( "Folder" ) |
03 | leaderstats.Parent = player |
04 | leaderstats.Name = "leaderstats" |
07 | local cash 1 = Instand.new( "IntValue" ) |
08 | cash 1. Parent = leaderstats |
12 | local cash 2 = Instand.new( "IntValue" ) |
13 | cash 2. Parent = leaderstats |
17 | local cash 3 = Instand.new( "IntValue" ) |
18 | cash 3. Parent = leaderstats |
22 | local cash 4 = Instand.new( "IntValue" ) |
23 | cash 4. Parent = leaderstats |
You must add this SCRIPT (not localscript) in game.ServerScriptService.
You see those variables at line 7, 12, 17 and 22? you can change them to whatever you want, cuz it will not be the name of the stat. They are variables. But if you change those variables, make sure to change the following two lines too! Example: If you change the name of the variable at line 7 to "Money", then you MUST change the variables at line 8 and 9 to "Money" too.
I hope this helped!