Advertisement
Cloudhax23

Untitled

Aug 5th, 2015
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.21 KB | None | 0 0
  1. if GetObjectName(GetMyHero()) == "Syndra" then
  2. --Menu
  3. Config = scriptConfig("Syndra", "Syndra")
  4. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  5. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  6. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  7. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  8. --Start
  9. OnLoop(function(myHero)
  10. AutoIgnite()
  11. if IWalkConfig.Combo then
  12. local unit = GetCurrentTarget()
  13. if ValidTarget(unit, 1200) then
  14.  
  15. -- Syndra Q cast
  16. if GetCastName(myHero, _Q) == "SyndraQ" then
  17. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,800,50,true,true)
  18. if Config.Q then
  19. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  20. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  21. end
  22. end
  23. end
  24.  
  25. -- Syndra cast W on Minion
  26. if GetCastName(myHero, _W) == "SyndraW" then
  27. if Config.W then
  28. if CanUseSpell(myHero, _W) == READY then
  29. CastTargetSpell(Obj_AI_Minion, _W)
  30. end
  31. end
  32. end
  33. -- Syndra cast W at Enemy
  34. if GetCastName(myHero, _W) == "SyndraW" then
  35. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,925,50,true,true)
  36. if Config.W then
  37. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  38. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  39. end
  40. end
  41. end
  42. -- Syndra PUSH
  43. if GetCastName(myHero, _E) == "SyndraE" then
  44. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,700,50,true,true)
  45. if Config.E then
  46. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  47. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  48. end
  49. end
  50. end
  51. -- Syndra Ultimate
  52. if GetCastName(myHero, _R) == "SyndraR" then
  53. if Config.R then
  54. if unit ~= nil then
  55. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 675) then
  56. CastTargetSpell(myHero, _R)
  57. end
  58. end
  59. end
  60. end
  61. end
  62. end
  63. end)
  64. end
  65. -- Ekko
  66. if GetObjectName(GetMyHero()) == "Ekko" then
  67. --Menu
  68. Config = scriptConfig("Ekko", "Ekko")
  69. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  70. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  71. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  72. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  73. --Start
  74. OnLoop(function(myHero)
  75. AutoIgnite()
  76. if IWalkConfig.Combo then
  77. local unit = GetCurrentTarget()
  78. if ValidTarget(unit, 1200) then
  79.  
  80. -- Q cast
  81. if GetCastName(myHero, _Q) == "EkkoQ" then
  82. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1075,50,true,true)
  83. if Config.Q then
  84. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  85. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  86. end
  87. end
  88. end
  89. -- W Cast
  90. if GetCastName(myHero, _W) == "EkkoW" then
  91. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1600,50,false,true)
  92. if Config.W then
  93. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  94. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  95. end
  96. end
  97. end
  98. -- E Cast Will cast E and if im correct then GoS will click champ and Ekko will blink Cast = 325 range Blink= 425
  99. if GetCastName(myHero, _E) == "EkkoE" then
  100. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,750,50,false,true)
  101. if Config.E then
  102. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  103. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  104. end
  105. end
  106. end
  107. -- R Cast Disabled till i manage how to Use R when low --THANKS SNOWBALL
  108. if GetCastName(myHero, _R) == "EkkoR" then
  109. if Config.R then
  110. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.2 and
  111. CanUseSpell(myHero, _R) == READY and IsObjectAlive(myHero) then
  112. CastTargetSpell(myHero,_R)
  113. end
  114. end
  115. end
  116. end
  117. end
  118. end)
  119. end
  120. --Nidalee
  121. if GetObjectName(GetMyHero()) == "Nidalee" then
  122. --Menu
  123. Config = scriptConfig("Nidalee", "Nidalee")
  124. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  125. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  126. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  127. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  128. Config.addParam("Q2", "Use Q2", SCRIPT_PARAM_ONOFF, true)
  129. Config.addParam("W2", "Use W2", SCRIPT_PARAM_ONOFF, true)
  130. Config.addParam("E2", "Use E2", SCRIPT_PARAM_ONOFF, true)
  131. --Start
  132. OnLoop(function(myHero)
  133. AutoIgnite()
  134. if IWalkConfig.Combo then
  135. local unit = GetCurrentTarget()
  136. if ValidTarget(unit, 1500) then
  137.  
  138. -- Nidalee Human Trap
  139. if GetCastName(myHero, _W) == "Bushwhack" then
  140. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,true,true)
  141. if Config.W then
  142. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  143. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  144. end
  145. end
  146. end
  147. -- Nidalee human spear
  148. if GetCastName(myHero, _Q) == "JavelinToss"then
  149. -- GetPredictionForPlayer(startPosition, targetUnit, targetUnitMoveSpeed, spellTravelSpeed, spellDelay, spellRange, spellWidth, collision, addHitBox)
  150. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,true,true)
  151. if Config.Q then
  152. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  153. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  154. end
  155. end
  156. end
  157. -- Nidalee human heal --THANKS SNOWBALL
  158. if GetCastName(myHero, _E) == "PrimalSurge" then
  159. if Config.E then
  160. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.2 and
  161. CanUseSpell(myHero, _E) == READY and IsObjectAlive(myHero) then
  162. CastTargetSpell(myHero,_E)
  163. end
  164. end
  165. end
  166. -- Tansform to cougar
  167. if GetCastName(myHero, _R) == "AspectOfTheCougar" then
  168. if Config.R then
  169. if unit ~= nil then
  170. if CanUseSpell(myHero, _R) == READY and CanUseSpell(myHero, _W) == READY and CanUseSpell(myHero, _Q) ~= READY and IsInDistance(unit, 750) and GotBuff(unit, "Hunted") then
  171. CastTargetSpell(myHero, _R)
  172. end
  173. end
  174. end
  175. end
  176. -- Cougar attack Q
  177. if GetCastName(myHero, _Q) == "Takedown" then
  178. if Config.Q2 then
  179. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 475) then
  180. CastTargetSpell(unit, _Q)
  181. end
  182. end
  183. end
  184. -- Cougar pounce W
  185. if GetCastName(myHero, _W) == "Pounce" then
  186. if Config.W2 then
  187. if CanUseSpell(myHero, _W) == READY and IsInDistance(unit, 375) then
  188. CastTargetSpell(unit, _W)
  189. end
  190. end
  191. end
  192. -- E cast in cougar form
  193. if GetCastName(myHero, _E) == "Swipe" then
  194. if Config.E2 then
  195. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 300) then
  196. CastTargetSpell(unit, _E)
  197. end
  198. end
  199. end
  200. -- Transform back
  201. if GetCastName(myHero, _R) == "AspectOfTheCougar" then
  202. if Config.R then
  203. if unit ~= nil then
  204. if CanUseSpell(myHero, _R) == READY and CanUseSpell(myHero, _W) ~= READY and CanUseSpell(myHero, _Q) ~= READY then
  205. CastSpell(_R)
  206. end
  207. end
  208. end
  209. end
  210.  
  211. end
  212. end
  213. end)
  214. end
  215. -- Graves
  216. if GetObjectName(GetMyHero()) == "Graves" then
  217. --Menu
  218. Config = scriptConfig("Graves", "Graves")
  219. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  220. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  221. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  222. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  223. --Start
  224. OnLoop(function(myHero)
  225. local target = GetCurrentTarget()
  226. if ValidTarget(target, math.huge) then
  227. if KeyIsDown(32) then
  228. castE(target)
  229. castQ(target)
  230. castW(target)
  231. castR(target)
  232. end
  233. end
  234. end
  235. -- End
  236. -- W cast
  237. )function castW( target )
  238. if Config.W then
  239. pred = GetPredictionForPlayer(GetOrigin(target),target,GetMoveSpeed(target),math.huge,500,GetCastRange(myHero,_W),900,false,true)
  240. if IsInDistance(target, GetCastRange(myHero,_W)) and CanUseSpell(myHero,_W) == READY and pred.HitChance == 1 then
  241. CastSkillShot(_W,pred.PredPos.x,pred.PredPos.y,pred.PredPos.z)
  242. end
  243. end
  244. -- Q cast
  245. function castQ( target )
  246. if Config.Q then
  247. pred = GetPredictionForPlayer(GetOrigin(target),target,GetMoveSpeed(target),math.huge,500,GetCastRange(myHero,_Q),900,false,true)
  248. if IsInDistance(target, GetCastRange(myHero,_Q)) and CanUseSpell(myHero,_Q) == READY and pred.HitChance == 1 then
  249. CastSkillShot(_Q,pred.PredPos.x,pred.PredPos.y,pred.PredPos.z)
  250. end
  251. end
  252. -- E cast
  253. end
  254. function castE( target )
  255. if Config.E then
  256. if IsInDistance(target, GetCastRange(myHero,_E)) and CanUseSpell(myHero,_E) == READY then
  257. CastSkillShot(_E, GetMousePos().x, GetMousePos().y, GetMousePos().z)
  258. end
  259. end
  260.  
  261. -- R cast
  262. -- R cast
  263. function castR( target )
  264. pred = GetPredictionForPlayer(GetOrigin(target),target,GetMoveSpeed(target),math.huge,500,GetCastRange(myHero,_R),950,false,true)
  265. if CanUseSpell(myHero_R) == READY and pred.HitChance == 1 and IsInDistance(target, GetCastRange(myHero,_R)) and Config.R and CalcDamage(myHero, target, (150*GetCastLevel(myHero,_R)+100+1.5*GetBonusDmg(myHero)), 0) > GetCurrentHP(target) then
  266. CastSkillShot(_R,pred.PredPos.x,pred.PredPos.y,pred.PredPos.z)
  267. end
  268. end
  269. end
  270. end
  271. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement