HowToRoblox

CoinsScript

May 3rd, 2020
3,191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. game.Players.PlayerAdded:Connect(function(plr)
  2.    
  3.    
  4.     local ls = Instance.new("Folder")
  5.     ls.Name = "leaderstats"
  6.     ls.Parent = plr
  7.    
  8.     local coins = Instance.new("IntValue")
  9.     coins.Name = "Coins"
  10.     coins.Value = 0
  11.     coins.Parent = ls
  12.    
  13. end)
Add Comment
Please, Sign In to add comment