midoking

script

Mar 1st, 2017
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1.  
  2. local function OnLevelUp(event, player, oldLevel)
  3. if (player:GetLevel() == 80) then
  4. local item = player:AddItem(80005)
  5. item
  6. if (item) then
  7.     item:SetBinding(true)
  8. end
  9. player:ModifyMoney(1600000)
  10. player:SendBroadcastMessage("Congratulations! you've claimed your Leveling reward, now go to Dalaran and exchange it with an Epic Heroic weapon.")
  11. else
  12. return false
  13. end
  14.  
  15. end
  16.  
  17. RegisterPlayerEvent(13, OnLevelUp)
Advertisement
Add Comment
Please, Sign In to add comment