Advertisement
Guest User

Level up code (Lua scripting*Roblox)

a guest
Jan 15th, 2017
8,852
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local leaderstats = player:waitForChild('leaderstats')
  3. local level = leaderstats:WaitForChild('Level')
  4. local xp = player:WaitforChild('EXP')
  5.  
  6. level.Changed:connect(function()
  7. if xp.Value <1000 then
  8. level.Value = 1
  9. end
  10. end)
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement