Advertisement
Cloudhax23

Untitled

Aug 5th, 2015
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. --Menu
  2. Config = scriptConfig("Vel'Koz", "Vel'Koz")
  3. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  4. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  5. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  6. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  7. --Start
  8. OnLoop(function(myHero)
  9. AutoIgnite()
  10. if IWalkConfig.Combo then
  11. local unit = GetCurrentTarget()
  12. if ValidTarget(unit, 1550) then
  13.  
  14. -- Nidalee Human Trap
  15. if Config.E then
  16. if GetCastName(myHero, _E) == "VelkozE" then
  17. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,850,50,false,true)
  18. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  19. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  20. end
  21. end
  22. end
  23.  
  24. -- Nidalee human spear
  25. if Config.W then
  26. if GetCastName(myHero, _W) == "VelkozW" then
  27. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,true,true)
  28. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  29. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  30. end
  31. end
  32. end
  33. -- Nidalee human heal --THANKS SNOWBALL
  34. if Config.Q then
  35. if GetCastName(myHero, _Q) == "VelkozQ" then
  36. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1050,55,true,true)
  37. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  38. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  39. end
  40. end
  41. end
  42. -- Tansform to cougar
  43. if Config.R then
  44. if GetCastName(myHero, _R) == "VelkozR" then
  45. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  46. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  47. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  48. end
  49. end
  50. end
  51. end
  52. end
  53. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement