Advertisement
Guest User

Autolevel working for scripts

a guest
Jul 29th, 2015
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. --[[
  2. Just run this script along with your other scripts if you wish for LevelSpell to work.
  3. This only works if you are VIP unfortunately.
  4. ]]
  5. if not VIP_USER then return end
  6. print("LevelSpell override is active")
  7.  
  8. _G.LevelSpell = function(id)
  9. local offsets = {
  10. [_Q] = 0xAA,
  11. [_W] = 0xAB,
  12. [_E] = 0xAC,
  13. [_R] = 0xAD,
  14. }
  15. local p = CLoLPacket(0x009C)
  16. p.vTable = 0xE61868
  17. p:EncodeF(myHero.networkID)
  18. for i = 1, 4 do p:Encode1(0xB4) end
  19. for i = 1, 4 do p:Encode1(0x69) end
  20. for i = 1, 4 do p:Encode1(0x09) end
  21. p:Encode1(offsets[id])
  22. p:Encode1(0xE4)
  23. p:Encode1(0x00)
  24. for i = 1, 4 do p:Encode1(0x00) end
  25. SendPacket(p)
  26. end
  27. --[[Updated for 5.14 - 2015-07-24]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement