Advertisement
xmaanzach

leaderstats Tutorial

Jan 9th, 2018
2,670
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. game.Players.PlayerAdded:connect(function(player)
  2. local stats = Instance.new('Model')
  3. stats.Name = "leaderstats"
  4. stats.Parent = player
  5.  
  6. --[[ local Nombre = Instance.new('IntValue', stats)|LO QUE ESTA DE VERDE |
  7. nombre.Name = 'Nombre' | LO PUEDES BORRAR |
  8. nombre.Value = 0 | ES UNA GUIA |
  9. --]]
  10.  
  11. local cash = Instance.new('IntValue', stats)
  12. cash.Name = 'Cash'
  13. cash.Value = 0
  14. local xp = Instance.new('IntValue', stats)
  15. xp.Name = 'EXP'
  16. xp.Value = 0
  17. local points = Instance.new('IntValue', stats)
  18. points.Name = 'Points'
  19. points.Value = 0
  20. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement