EconomicSerg

ROBLOX Leaderstats

Oct 21st, 2020 (edited)
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. game.Players.PlayerAdded:Connect(function(plr)
  2.     local leaderstats = Instance.new("BoolValue",plr)
  3.     leaderstats.Name = "leaderstats"
  4.  
  5.     local cash = Instance.new("IntValue",leaderstats)
  6.     cash.Name = "" -- Name this whatever you want e.g. Coins, Gold, Cash, etc.
  7.     cash.Value = 0 -- Put this to whatever you want the player to start with
  8. end)
Add Comment
Please, Sign In to add comment