Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- MADE IN POLAND
- if myHero.charName ~= "Alistar" then return end
- local ts
- local zasiegq = 365 -- Range Q
- local DFG = GetInventorySlotItem(3128) -- Deathfire Grasp
- local ZH = GetInventorySlotItem(3157) -- Zhonya's Hourglass
- function powitanie()
- PrintChat("<font color=\"#ff9e00\">[NECEK CARRY]</font> <font color=\"#00ff00\">Combo Alistar! Have fun! By necek123.</font>")
- end
- function OnLoad()
- powitanie()
- ts = TargetSelector(TARGET_LESS_CAST_PRIORITY, 650, DAMAGE_MAGIC, true)
- Config = scriptConfig("[NECEK CARRY] Alistar", "aliscio")
- opcje = scriptConfig("[NECEK CARRY] Settings", "aliscio2")
- activator = scriptConfig("[NECEK CARRY] Activator", "aliscio3")
- Config:addParam("otoczka", "Draw circle", SCRIPT_PARAM_ONOFF, true)
- --Config:addParam("autoe", "Auto E", SCRIPT_PARAM_ONOFF, true)
- Config:addParam("autoe", "Auto E", SCRIPT_PARAM_LIST, 3, {"OFF", "100 HP", "200 HP", "300 HP", "400 HP", "500 HP", "600 HP", })
- Config:addParam("combo", "Combo", SCRIPT_PARAM_ONKEYDOWN, false, string.byte(32))
- opcje:addParam("opcjemana", "Minimum mana to 'E'", SCRIPT_PARAM_LIST, 1, {"100 Many", "200 Many", "300 Many", "400 Many", "500 Many" })
- opcje:addParam("podazanie", "Follow the mouse", SCRIPT_PARAM_ONOFF, true)
- opcje:addTS(ts)
- Config:permaShow("combo")
- Config:permaShow("autoe")
- opcje:permaShow("podazanie")
- activator:addParam("onoff", "Activator", SCRIPT_PARAM_ONOFF, true)
- activator:addParam("DFG", "Deathfire Grasp", SCRIPT_PARAM_ONOFF, true)
- activator:addParam("ZH", "Zhonya's Hourglass", SCRIPT_PARAM_ONOFF, true)
- activator:permaShow("onoff")
- end
- function OnTick()
- ts:update()
- test()
- autozon()
- end
- function OnDraw()
- if(Config.otoczka) then
- DrawCircle(myHero.x, myHero.y, myHero.z, 650, 0x33CC33)
- end
- test()
- autoe()
- end
- function test()
- if (Config.combo) then
- if (opcje.podazanie) then
- zakursorem()
- if (ts.target ~= nil) then
- if (myHero:CanUseSpell(_W and _Q) == READY) then
- if (GetDistance(ts.target) <= zasiegq) then
- CastSpell(_Q)
- if (DFG ~= nil) then
- if (activator.DFG and activator.onoff) then
- CastSpell(DFG, ts.target)
- end
- end
- else
- if (DFG ~= nil) then
- if (activator.DFG and activator.onoff) then
- CastSpell(DFG, ts.target)
- end
- end
- CastSpell(_W, ts.target)
- if (GetDistance(ts.target) <= zasiegq) then
- CastSpell(_Q)
- end
- end
- else
- siemanko = DrawText("Wait for cooldown to 'W', 'Q'", 18, 100, 100, 0xFFCC0000)
- end
- end
- end
- end
- function autoe()
- if (opcje.opcjemana) then
- if (myHero.mana <= (opcje.opcjemana * 100)) then
- DrawText("You don't have mana.", 24, 100, 140, 0xFFCC0000)
- else
- if (Config.autoe) then
- if (myHero.health <= (Config.autoe * 100 - 100)) then
- if (myHero:CanUseSpell(_E) == READY) then
- CastSpell(_E)
- end
- end
- end
- end
- end
- end
- end
- function zakursorem()
- if GetDistance(mousePos) > 10 then
- local moveToPos = myHero + (Vector(mousePos) - myHero):normalized()*250
- myHero:MoveTo(moveToPos.x, moveToPos.z)
- end
- end
- function autozon()
- if (activator.ZH) then
- if (ZH ~= nil) then
- if (myHero.health <= 100) then
- CastSpell(ZH)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment