Advertisement
Cloudhax23

Untitled

Aug 6th, 2015
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.18 KB | None | 0 0
  1. --Menu
  2. if GetObjectName(GetMyHero()) == "Azir" then
  3. --Azir
  4. Config = scriptConfig("Azir", "Azir")
  5. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  6. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  7. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  8. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  9. --Start
  10. OnLoop(function(myHero)
  11. AutoIgnite()
  12. if IWalkConfig.Combo then
  13. local unit = GetCurrentTarget()
  14. if ValidTarget(unit, 1550) then
  15.  
  16. -- Azir W
  17. if Config.W then
  18. if GetCastName(myHero, _W) == "AzirW" then
  19. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,850,55,false,true)
  20. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  21. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  22. end
  23. end
  24. end
  25. -- Azir Q
  26. if Config.Q then
  27. if GetCastName(myHero, _Q) == "AzirQ" then
  28. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  29. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  30. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  31. end
  32. end
  33. end
  34. -- Azir E
  35. if Config.E then
  36. if GetCastName(myHero, _E) == "AzirE" then
  37. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,850,50,false,true)
  38. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  39. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  40. end
  41. end
  42. end
  43. -- Azir R
  44. if Config.R then
  45. if GetCastName(myHero, _R) == "AzirR" then
  46. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,250,55,false,true)
  47. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  48. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  49. end
  50. end
  51. end
  52. end
  53. end
  54. end)
  55. end
  56.  
  57. --Viktor
  58. if GetObjectName(GetMyHero()) == "Viktor" then
  59. --Menu
  60. Config = scriptConfig("Viktor", "Viktor")
  61. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  62. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  63. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  64. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  65. --Start
  66. OnLoop(function(myHero)
  67. AutoIgnite()
  68. if IWalkConfig.Combo then
  69. local unit = GetCurrentTarget()
  70. if ValidTarget(unit, 1550) then
  71.  
  72. -- Viktor W
  73. if Config.W then
  74. if GetCastName(myHero, _W) == "ViktorGravitonField" then
  75. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,700,55,false,true)
  76. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  77. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  78. end
  79. end
  80. end
  81. -- Viktor Q
  82. if Config.Q then
  83. if GetCastName(myHero, _Q) == "ViktorPowerTransfer" then
  84. if CanUseSpell(myHero, _Q) == READY then
  85. CastTargetSpell(unit,_Q)
  86. end
  87. end
  88. end
  89. -- Viktor E
  90. local myorigin = GetOrigin(unit)
  91. local mymouse = GetMousePos()
  92. if Config.E then
  93. if GetCastName(myHero, _E) == "ViktorDeathRay" then
  94. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,525,55,false,true)
  95. if CanUseSpell(myHero, _E) == READY then
  96. CastSkillShot3(_E,myorigin,mymouse)
  97. end
  98. end
  99. end
  100. -- Viktor R
  101. if Config.R then
  102. if GetCastName(myHero, _R) == "ViktorChaosStorm" then
  103. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,700,55,false,true)
  104. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  105. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  106. end
  107. end
  108. end
  109. end
  110. end
  111. end)
  112. end
  113. -- VelKoz
  114. if GetObjectName(GetMyHero()) == "Velkoz" then
  115. --Menu
  116. Config = scriptConfig("VelKoz", "VelKoz")
  117. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  118. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  119. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  120. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  121. --Start
  122. OnLoop(function(myHero)
  123. AutoIgnite()
  124. if IWalkConfig.Combo then
  125. local unit = GetCurrentTarget()
  126. if ValidTarget(unit, 1550) then
  127.  
  128. -- Velkoz E
  129. if Config.E then
  130. if GetCastName(myHero, _E) == "VelkozE" then
  131. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,850,50,false,true)
  132. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  133. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  134. end
  135. end
  136. end
  137.  
  138. -- Velkoz W
  139. if Config.W then
  140. if GetCastName(myHero, _W) == "VelkozW" then
  141. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  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. -- Velkoz Q
  148. if Config.Q then
  149. if GetCastName(myHero, _Q) == "VelkozQ" then
  150. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1050,55,true,true)
  151. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  152. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  153. end
  154. end
  155. end
  156. -- Velkoz R
  157. if Config.R then
  158. if GetCastName(myHero, _R) == "VelkozR" then
  159. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  160. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  161. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  162. end
  163. end
  164. end
  165. end
  166. end
  167. end)
  168. end
  169.  
  170. if GetObjectName(GetMyHero()) == "Syndra" then
  171. --Menu
  172. Config = scriptConfig("Syndra", "Syndra")
  173. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  174. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  175. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  176. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  177. --Start
  178. OnLoop(function(myHero)
  179. AutoIgnite()
  180. if IWalkConfig.Combo then
  181. local unit = GetCurrentTarget()
  182. if ValidTarget(unit, 1200) then
  183.  
  184. -- Syndra Q cast
  185. if GetCastName(myHero, _Q) == "SyndraQ" then
  186. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,800,50,true,true)
  187. if Config.Q then
  188. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  189. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  190. end
  191. end
  192. end
  193.  
  194. -- Syndra cast W on Minion
  195. if GetCastName(myHero, _W) == "SyndraW" then
  196. if Config.W then
  197. if CanUseSpell(myHero, _W) == READY then
  198. CastTargetSpell(Obj_AI_Minion, _W)
  199. end
  200. end
  201. end
  202. -- Syndra cast W at Enemy
  203. if GetCastName(myHero, _W) == "SyndraW" then
  204. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,925,50,true,true)
  205. if Config.W then
  206. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  207. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  208. end
  209. end
  210. end
  211. -- Syndra PUSH
  212. if GetCastName(myHero, _E) == "SyndraE" then
  213. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,700,50,true,true)
  214. if Config.E then
  215. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  216. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  217. end
  218. end
  219. end
  220. -- Syndra Ultimate
  221. if GetCastName(myHero, _R) == "SyndraR" then
  222. if Config.R then
  223. if unit ~= nil then
  224. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 675) then
  225. CastTargetSpell(myHero, _R)
  226. end
  227. end
  228. end
  229. end
  230. end
  231. end
  232. end)
  233. end
  234. -- Ekko
  235. if GetObjectName(GetMyHero()) == "Ekko" then
  236. --Menu
  237. Config = scriptConfig("Ekko", "Ekko")
  238. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  239. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  240. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  241. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  242. --Start
  243. OnLoop(function(myHero)
  244. AutoIgnite()
  245. if IWalkConfig.Combo then
  246. local unit = GetCurrentTarget()
  247. if ValidTarget(unit, 1200) then
  248.  
  249. -- Q cast
  250. if GetCastName(myHero, _Q) == "EkkoQ" then
  251. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1075,50,true,true)
  252. if Config.Q then
  253. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  254. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  255. end
  256. end
  257. end
  258. -- W Cast
  259. if GetCastName(myHero, _W) == "EkkoW" then
  260. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1600,50,false,true)
  261. if Config.W then
  262. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  263. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  264. end
  265. end
  266. end
  267. -- E Cast Will cast E and if im correct then GoS will click champ and Ekko will blink Cast = 325 range Blink= 425
  268. if GetCastName(myHero, _E) == "EkkoE" then
  269. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,750,50,false,true)
  270. if Config.E then
  271. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  272. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  273. end
  274. end
  275. end
  276. -- R Cast Disabled till i manage how to Use R when low --THANKS SNOWBALL
  277. if GetCastName(myHero, _R) == "EkkoR" then
  278. if Config.R then
  279. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.2 and
  280. CanUseSpell(myHero, _R) == READY and IsObjectAlive(myHero) then
  281. CastTargetSpell(myHero,_R)
  282. end
  283. end
  284. end
  285. end
  286. end
  287. end)
  288. end
  289. --Nidalee
  290. if GetObjectName(GetMyHero()) == "Nidalee" then
  291. --Menu
  292. Config = scriptConfig("Nidalee", "Nidalee")
  293. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  294. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  295. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  296. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  297. Config.addParam("Q2", "Use Q2", SCRIPT_PARAM_ONOFF, true)
  298. Config.addParam("W2", "Use W2", SCRIPT_PARAM_ONOFF, true)
  299. Config.addParam("E2", "Use E2", SCRIPT_PARAM_ONOFF, true)
  300. --Start
  301. OnLoop(function(myHero)
  302. AutoIgnite()
  303. if IWalkConfig.Combo then
  304. local unit = GetCurrentTarget()
  305. if ValidTarget(unit, 1500) then
  306.  
  307. -- Nidalee Human Trap
  308. if GetCastName(myHero, _W) == "Bushwhack" then
  309. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,true,true)
  310. if Config.W then
  311. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  312. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  313. end
  314. end
  315. end
  316. -- Nidalee human spear
  317. if GetCastName(myHero, _Q) == "JavelinToss"then
  318. -- GetPredictionForPlayer(startPosition, targetUnit, targetUnitMoveSpeed, spellTravelSpeed, spellDelay, spellRange, spellWidth, collision, addHitBox)
  319. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,true,true)
  320. if Config.Q then
  321. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  322. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  323. end
  324. end
  325. end
  326. -- Nidalee human heal --THANKS SNOWBALL
  327. if GetCastName(myHero, _E) == "PrimalSurge" then
  328. if Config.E then
  329. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.2 and
  330. CanUseSpell(myHero, _E) == READY and IsObjectAlive(myHero) then
  331. CastTargetSpell(myHero,_E)
  332. end
  333. end
  334. end
  335. -- Tansform to cougar
  336. if GetCastName(myHero, _R) == "AspectOfTheCougar" then
  337. if Config.R then
  338. if unit ~= nil then
  339. if CanUseSpell(myHero, _R) == READY and CanUseSpell(myHero, _W) == READY and CanUseSpell(myHero, _Q) ~= READY and IsInDistance(unit, 750) and GotBuff(unit, "Hunted") then
  340. CastTargetSpell(myHero, _R)
  341. end
  342. end
  343. end
  344. end
  345. -- Cougar attack Q
  346. if GetCastName(myHero, _Q) == "Takedown" then
  347. if Config.Q2 then
  348. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 475) then
  349. CastTargetSpell(unit, _Q)
  350. end
  351. end
  352. end
  353. -- Cougar pounce W
  354. if GetCastName(myHero, _W) == "Pounce" then
  355. if Config.W2 then
  356. if CanUseSpell(myHero, _W) == READY and IsInDistance(unit, 375) then
  357. CastTargetSpell(unit, _W)
  358. end
  359. end
  360. end
  361. -- E cast in cougar form
  362. if GetCastName(myHero, _E) == "Swipe" then
  363. if Config.E2 then
  364. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 300) then
  365. CastTargetSpell(unit, _E)
  366. end
  367. end
  368. end
  369. -- Transform back
  370. if GetCastName(myHero, _R) == "AspectOfTheCougar" then
  371. if Config.R then
  372. if unit ~= nil then
  373. if CanUseSpell(myHero, _R) == READY and CanUseSpell(myHero, _W) ~= READY and CanUseSpell(myHero, _Q) ~= READY then
  374. CastSpell(_R)
  375. end
  376. end
  377. end
  378. end
  379.  
  380. end
  381. end
  382. end)
  383. end
  384. -- Graves
  385. if GetObjectName(GetMyHero()) == "Graves" then
  386. --Menu
  387. Config = scriptConfig("Graves", "Graves")
  388. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  389. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  390. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  391. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  392. --Start
  393. OnLoop(function(myHero)
  394. local target = GetCurrentTarget()
  395. if ValidTarget(target, math.huge) then
  396. if KeyIsDown(32) then
  397. castE(target)
  398. castQ(target)
  399. castW(target)
  400. castR(target)
  401. end
  402. end
  403. end
  404. -- End
  405. -- W cast
  406. )function castW( target )
  407. if Config.W then
  408. pred = GetPredictionForPlayer(GetOrigin(target),target,GetMoveSpeed(target),math.huge,500,GetCastRange(myHero,_W),900,false,true)
  409. if IsInDistance(target, GetCastRange(myHero,_W)) and CanUseSpell(myHero,_W) == READY and pred.HitChance == 1 then
  410. CastSkillShot(_W,pred.PredPos.x,pred.PredPos.y,pred.PredPos.z)
  411. end
  412. end
  413. -- Q cast
  414. function castQ( target )
  415. if Config.Q then
  416. pred = GetPredictionForPlayer(GetOrigin(target),target,GetMoveSpeed(target),math.huge,500,GetCastRange(myHero,_Q),900,false,true)
  417. if IsInDistance(target, GetCastRange(myHero,_Q)) and CanUseSpell(myHero,_Q) == READY and pred.HitChance == 1 then
  418. CastSkillShot(_Q,pred.PredPos.x,pred.PredPos.y,pred.PredPos.z)
  419. end
  420. end
  421. -- E cast
  422. end
  423. function castE( target )
  424. if Config.E then
  425. if IsInDistance(target, GetCastRange(myHero,_E)) and CanUseSpell(myHero,_E) == READY then
  426. CastSkillShot(_E, GetMousePos().x, GetMousePos().y, GetMousePos().z)
  427. end
  428. end
  429.  
  430. -- R cast
  431. -- R cast
  432. function castR( target )
  433. pred = GetPredictionForPlayer(GetOrigin(target),target,GetMoveSpeed(target),math.huge,500,GetCastRange(myHero,_R),950,false,true)
  434. 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
  435. CastSkillShot(_R,pred.PredPos.x,pred.PredPos.y,pred.PredPos.z)
  436. end
  437. end
  438. end
  439. end
  440. end
  441. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Loaded</font>"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement