Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Sida's AutoCarry Plugin - Blitzcrank.lua
- by Aureus
- Features:
- * Option to use Q, W, E, and R with AutoCarry
- * Auto Ult with slider
- * Auto KS with ult
- * Draw Q Range
- --]]
- local SkillQ = {spellKey = _Q, range = 925, speed = 1800, delay = 250, width = 120}
- function PluginOnLoad()
- mainLoad()
- mainMenu()
- end
- function PluginOnTick()
- Target = AutoCarry.GetAttackTarget()
- QREADY = (myHero:CanUseSpell(_Q) == READY)
- WREADY = (myHero:CanUseSpell(_W) == READY)
- EREADY = (myHero:CanUseSpell(_E) == READY)
- RREADY = (myHero:CanUseSpell(_R) == READY)
- if Menu.autoks then
- for i = 1, heroManager.iCount, 1 do
- local ksTarget = heroManager:getHero(i)
- if ValidTarget(ksTarget, QRange) then
- if ksTarget.health <= getDmg("R", ksTarget, myHero) then CastSpell(_R) end
- end
- end
- end
- if Menu2.AutoCarry and Target then
- if Menu.useQ and QREADY and GetDistance(Target) <= QRange and not AutoCarry.GetCollision(SkillQ, myHero, Target) then
- AutoCarry.CastSkillshot(SkillQ, Target)
- end
- if GetDistance(Target) <= 125 then
- if WREADY and Menu.useW then CastSpell(_W) end
- if EREADY and Menu.useE then CastSpell(_E) end
- end
- if Menu.useR then
- local champCount = 0
- for i = 1, heroManager.iCount do
- local enemy = heroManager:getHero(i)
- if ValidTarget(enemy, RRange) then
- champCount = champCount + 1
- end
- end
- if Menu.minR <= champCount then
- CastSpell(_R)
- end
- end
- end
- end
- function mainLoad()
- AutoCarry.SkillsCrosshair.range = 925
- Menu = AutoCarry.PluginMenu
- Menu2 = AutoCarry.MainMenu
- QRange, RRange = 925, 450
- QREADY, EREADY, RREADY = false, false, false
- end
- function mainMenu()
- Menu:addParam("autoks", "Auto KS with Ult", SCRIPT_PARAM_ONOFF, true)
- Menu:addParam("useQ", "Use Q with AutoCarry", SCRIPT_PARAM_ONOFF, true)
- Menu:addParam("useE", "Use E with AutoCarry", SCRIPT_PARAM_ONOFF, true)
- Menu:addParam("useR", "Auto Ult", SCRIPT_PARAM_ONOFF, true)
- Menu:addParam("minR", "Minimum enemies for Auto Ult", SCRIPT_PARAM_SLICE, 1, 0, 4, 0)
- Menu:addParam("drawQ", "Draw Q Range", SCRIPT_PARAM_ONOFF, true)
- end
Advertisement
Add Comment
Please, Sign In to add comment