Advertisement
Joriangames

Coins leaderstats

Dec 2nd, 2020
1,592
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. --This script is created by Joriangames/Problox Studio Scripts
  2. --If you want to know how this works, watch the tutorial: https://youtu.be/24vBNhkcq-E
  3. game.Players.PlayerAdded:Connect(function(plr)
  4.    
  5.     local leaderstats = Instance.new("Folder")
  6.     leaderstats.Name = "leaderstats"
  7.     leaderstats.Parent = plr
  8.    
  9.     local Coins = Instance.new("IntValue")
  10.     Coins.Name = "Coins"
  11.     Coins.Parent = leaderstats
  12. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement