Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local CONFIG = {
- spell = "adori gran flam",
- mana = 135,
- hand = SLOT_LEFT, --Change to SLOT_RIGHT for right hand
- move_weapon = true, --Move weapon to arrow slot before moving the blank rune
- on_no_blank_runes = function() print("No more blank runes!") end,
- BLANK_RUNE_ID = 2260
- }
- table.lower(CONFIG.safelist)
- local function makerune()
- local blankrune = finditem(CONFIG.BLANK_RUNE_ID)
- if blankrune.id == 0 then
- CONFIG.on_no_blank_runes()
- else
- local weapon = getslotitem(CONFIG.hand)
- if CONFIG.move_weapon and weapon.id ~= 0 then
- weapon:move(slot(SLOT_BACKPACK))
- wait(500, 700)
- end
- blankrune:move(slot(CONFIG.hand))
- wait(500, 700)
- say(CONFIG.spell)
- wait(500, 700)
- while getslotitem(CONFIG.hand).id ~= 0 do
- getslotitem(CONFIG.hand):move({blankrune.x, blankrune.y, blankrune.z})
- wait(500, 700)
- end
- if CONFIG.move_weapon and weapon.id ~= 0 then
- while getslotitem(CONFIG.hand).id ~= weapon.id do
- weapon:move(slot(CONFIG.hand))
- wait(500, 700)
- end
- end
- end
- end
- auto(100)
- if getmana() >= CONFIG.mana then
- makerune()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement