Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local CONFIG = {
  2.  
  3. spell = "adori gran flam",
  4. mana = 135,
  5. hand = SLOT_LEFT, --Change to SLOT_RIGHT for right hand
  6. move_weapon = true, --Move weapon to arrow slot before moving the blank rune
  7.  
  8. on_no_blank_runes = function() print("No more blank runes!") end,
  9.  
  10. BLANK_RUNE_ID = 2260
  11. }
  12.  
  13. table.lower(CONFIG.safelist)
  14.  
  15. local function makerune()
  16. local blankrune = finditem(CONFIG.BLANK_RUNE_ID)
  17.  
  18. if blankrune.id == 0 then
  19. CONFIG.on_no_blank_runes()
  20. else
  21. local weapon = getslotitem(CONFIG.hand)
  22. if CONFIG.move_weapon and weapon.id ~= 0 then
  23. weapon:move(slot(SLOT_BACKPACK))
  24. wait(500, 700)
  25. end
  26.  
  27. blankrune:move(slot(CONFIG.hand))
  28. wait(500, 700)
  29. say(CONFIG.spell)
  30. wait(500, 700)
  31. while getslotitem(CONFIG.hand).id ~= 0 do
  32. getslotitem(CONFIG.hand):move({blankrune.x, blankrune.y, blankrune.z})
  33. wait(500, 700)
  34. end
  35.  
  36. if CONFIG.move_weapon and weapon.id ~= 0 then
  37. while getslotitem(CONFIG.hand).id ~= weapon.id do
  38. weapon:move(slot(CONFIG.hand))
  39. wait(500, 700)
  40. end
  41. end
  42. end
  43. end
  44.  
  45. auto(100)
  46. if getmana() >= CONFIG.mana then
  47. makerune()
  48. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement