chill-blox123

Cash script 1

May 23rd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. game.Players.PlayerAdded:Connect(function(plr)
  2. local leader = Instance.new("BoolValue",plr)
  3. leader.Name = "leaderstats"
  4. local Cash = Instance.new("IntValue",leader)
  5. Cash.Name = "Cash"
  6. game.ServerStorage.Give.Event:Connect(function(Amount)
  7. Cash.Value = Cash.Value + Amount
  8. end)
  9. end)
Add Comment
Please, Sign In to add comment