Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function Combo()
- if menu.combo.q:get() and player:spellSlot(0).level > 0 then
- ts:update((QRange[player:spellSlot(0).level] + 600))
- local target = ts.target
- if target and common.IsValidTarget(target) and player:spellSlot(0).state == 0 and (player.par / player.maxPar) * 100 >= menu.combo.Mana:get() then
- if MiniGun then
- if menu.combo.qr:get() then
- if #common.GetEnemyHeroesInRange(525) == 0 and CountEnemyHeroInRange(525) == 0 and target.pos:dist(player.pos) > (525 + player.boundingRadius + 50 + (player:spellSlot(0).level * 25)) then
- player:castSpell("self", 0)
- elseif CountEnemyHeroInRange(525) >= 3 then
- player:castSpell("self", 0)
- end
- end
- elseif not MiniGun and menu.combo.qr:get() and target.pos:dist(player.pos) <= 525.5 then
- common.DelayAction(function()player:castSpell("self", 0)end, 1)
- end
- elseif player:spellSlot(0).state == 0 and (player.par / player.maxPar) * 100 >= menu.combo.Mana:get() and CountEnemyHeroInRange(800) == 0 and menu.combo.qe:get() and not MiniGun then
- common.DelayAction(function()player:castSpell("self", 0)end, 0.5)
- end
- end
- if menu.combo.w:get() and player:spellSlot(1).state == 0 and not Speed and not is_turret_near(player.pos) then
- if #common.GetEnemyHeroesInRange(800) == 0 then
- CastW()
- end
- end
- if menu.combo.r:get() and player:spellSlot(3).state == 0 and not Speed then
- ts:update(2500)
- local target = ts.target
- if target and common.IsValidTarget(target) and target.pos:dist(player.pos) > menu.combo.rr:get() and rDmg(target) > target.health then
- CastR(target)
- end
- end -- here
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement