Advertisement
Guest User

EXP roblox script

a guest
Aug 27th, 2017
5,092
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. game.Players.PlayerAdded:connect(function(plr)
  2. local stats = Instance.new('IntValue',plr)
  3. stats.Name = 'leaderstats'
  4. local experience = Instance.new('IntValue',stats)
  5. experience.Name = 'EXP'
  6. experience.Value = 0
  7. local level = Instance.new('IntValue', stats)
  8. level.Name = 'Level'
  9. level.Value = 0
  10.  
  11. experience.Changed:connect(function()
  12. level.Value = math.floor(experience.Value / 1000)
  13. end)
  14.  
  15.  
  16.  
  17. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement