Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'Utils'
- require 'winapi'
- require 'SKeys'
- require 'vals_lib'
- local uiconfig = require 'uiconfig'
- local Q,W,E,R = 'Q','W','E','R'
- cfg, menu = uiconfig.add_menu('IPJ Malzahar Config', 200)
- menu.keydown('Combo', 'Combo', Keys.Y)
- menu.permashow('Combo')
- function Main()
- if IsLolActive() and myHero.name == 'Malzahar' then
- SetScriptTimer(5)
- GetCD()
- local target = GetWeakEnemy('MAGIC',700)
- if cfg.Combo then
- SpellTarget(E,QRDY,myHero,target,650)
- SpellPred(W,WRDY,myHero,target,650,2.5,99)
- SpellPred(Q,QRDY,myHero,target,650,2.5,99)
- SpellTarget(R,QRDY,myHero,target,650)
- end
- if myHero.dead==0 and target~=nil then CustomCircle(75,15,2,target) end
- if myHero.dead==0 then CustomCircle(645,3,3,myHero) end
- if myHero.dead==0 then CustomCircle(650,1,2,myHero) end
- if myHero.dead==0 then CustomCircle(655,3,4,myHero) end
- end
- end
- SetTimerCallback('Main')
Advertisement
Add Comment
Please, Sign In to add comment