Advertisement
Musti145

Untitled

Oct 1st, 2015
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. BardMenu = Menu("Bard", "Bard:")
  2. BardMenu:SubMenu("Combo", "Combo")
  3. BardMenu.Combo:Boolean("Q", "Use Q", true)
  4.  
  5. OnLoop(function(myHero)
  6. local target = GetCurrentTarget()
  7.  
  8. if IOW:Mode() == "Combo" then
  9.  
  10. local QPred = GetPredictionForPlayer(GoS:myHeroPos(),target,GetMoveSpeed(target),2200,625,1300,90,false,false)
  11.  
  12. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 and GoS:ValidTarget(target, 950) and BardMenu.Combo.Q:Value() then
  13. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  14. end
  15. end
  16. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement