WolfGamesProgrammer

AddData

Oct 10th, 2024
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | Source Code | 0 0
  1. function onUserAdded(plr)
  2.     local leaderstats = Instance.new("Folder", plr)
  3.     leaderstats.Name = "leaderstats"
  4.     local cash = Instance.new("IntValue", leaderstats)
  5.     cash.Name = "Cash"
  6.     cash.Value = 100
  7. end
  8. game.Players.PlayerAdded:Connect(onUserAdded)
  9.  
  10.  
Advertisement
Add Comment
Please, Sign In to add comment