Advertisement
otorp2

Leaderboard

Jun 27th, 2017
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. -- script named "Leaderboard" in workspace
  2.  
  3.  
  4. game.Players.PlayerAdded:connect(function(player)
  5.  
  6. stats = Instance.new("IntValue",player)
  7.  
  8. stats.Name = "leaderstats"
  9.  
  10. points = Instance.new("IntValue",stats)
  11.  
  12. points.Name = "Points"
  13.  
  14. poopies = Instance.new("IntValue",stats)
  15.  
  16. poopies.Name = "Poopies"
  17.  
  18.  
  19. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement