Advertisement
Anukun_Lucifer

leaderstats Script (Coins,Rice)

Jan 21st, 2023
2,627
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.30 KB | Gaming | 0 0
  1. game.Players.PlayerAdded:Connect(function(player)
  2.     local stat = Instance.new("Folder",player)
  3.     stat.Name = "leaderstats"
  4.    
  5.     local coin = Instance.new("IntValue",stat)
  6.     coin.Name = "Coins"
  7.     coin.Value = 100
  8.    
  9.     local rice = Instance.new("IntValue",stat)
  10.     rice.Name = "Rices"
  11.     rice.Value = 0
  12. end)
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement