Advertisement
TaylorTheKing

Roblox - Leaderboard script

Sep 18th, 2016
30,705
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. function playerentered(newPlayer)
  2.     local stats = Instance.new("IntValue")
  3.     stats.Name = "leaderstats"
  4.    
  5.     local Money = Instance.new("IntValue")
  6.     Money.Name = "Money"   
  7.     Money.Value = 100
  8.    
  9.     Money.Parent = stats
  10.     stats.Parent = newPlayer
  11. end
  12. game.Players.ChildAdded:connect(playerentered)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement