Advertisement
Cloudhax23

Untitled

Aug 6th, 2015
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.33 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. if GetCastName(myHero, _R) == "EkkoR" then
  245. if Config.R then
  246. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.2 and
  247. CanUseSpell(myHero, _R) == READY and IsObjectAlive(myHero) then
  248. CastTargetSpell(myHero,_R)
  249. end
  250. end
  251. end
  252. AutoIgnite()
  253. if IWalkConfig.Combo then
  254. local unit = GetCurrentTarget()
  255. if ValidTarget(unit, 1200) then
  256.  
  257. -- Q cast
  258. if GetCastName(myHero, _Q) == "EkkoQ" then
  259. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1075,50,true,true)
  260. if Config.Q then
  261. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  262. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  263. end
  264. end
  265. end
  266. -- W Cast
  267. if GetCastName(myHero, _W) == "EkkoW" then
  268. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1600,50,false,true)
  269. if Config.W then
  270. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  271. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  272. end
  273. end
  274. end
  275. -- E Cast Will cast E and if im correct then GoS will click champ and Ekko will blink Cast = 325 range Blink= 425
  276. if GetCastName(myHero, _E) == "EkkoE" then
  277. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,750,50,false,true)
  278. if Config.E then
  279. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  280. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  281. end
  282. end
  283. end
  284. -- R Cast Disabled till i manage how to Use R when low --THANKS SNOWBALL
  285. if GetCastName(myHero, _R) == "EkkoR" then
  286. if Config.R then
  287. CastTargetSpell(myHero,_R)
  288. end
  289. end
  290. end
  291. end
  292. end)
  293. end
  294. --Nidalee
  295. if GetObjectName(GetMyHero()) == "Nidalee" then
  296. --Menu
  297. Config = scriptConfig("Nidalee", "Nidalee")
  298. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  299. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  300. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  301. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  302. Config.addParam("Q2", "Use Q2", SCRIPT_PARAM_ONOFF, true)
  303. Config.addParam("W2", "Use W2", SCRIPT_PARAM_ONOFF, true)
  304. Config.addParam("E2", "Use E2", SCRIPT_PARAM_ONOFF, true)
  305. --Start
  306. OnLoop(function(myHero)
  307. -- Nidalee human heal --THANKS SNOWBALL
  308. if GetCastName(myHero, _E) == "PrimalSurge" then
  309. if Config.E then
  310. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.2 and
  311. CanUseSpell(myHero, _E) == READY and IsObjectAlive(myHero) then
  312. CastTargetSpell(myHero,_E)
  313. end
  314. end
  315. end
  316. AutoIgnite()
  317. if IWalkConfig.Combo then
  318. local unit = GetCurrentTarget()
  319. if ValidTarget(unit, 1500) then
  320.  
  321. -- Nidalee Human Trap
  322. if GetCastName(myHero, _W) == "Bushwhack" then
  323. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,true,true)
  324. if Config.W then
  325. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  326. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  327. end
  328. end
  329. end
  330. -- Nidalee human spear
  331. if GetCastName(myHero, _Q) == "JavelinToss"then
  332. -- GetPredictionForPlayer(startPosition, targetUnit, targetUnitMoveSpeed, spellTravelSpeed, spellDelay, spellRange, spellWidth, collision, addHitBox)
  333. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,true,true)
  334. if Config.Q then
  335. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  336. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  337. end
  338. end
  339. end
  340. -- Tansform to cougar
  341. if GetCastName(myHero, _R) == "AspectOfTheCougar" then
  342. if Config.R then
  343. if unit ~= nil then
  344. if CanUseSpell(myHero, _R) == READY and CanUseSpell(myHero, _W) == READY and CanUseSpell(myHero, _Q) ~= READY and IsInDistance(unit, 750) and GotBuff(unit, "Hunted") then
  345. CastTargetSpell(myHero, _R)
  346. end
  347. end
  348. end
  349. end
  350. -- Cougar attack Q
  351. if GetCastName(myHero, _Q) == "Takedown" then
  352. if Config.Q2 then
  353. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 475) then
  354. CastTargetSpell(unit, _Q)
  355. end
  356. end
  357. end
  358. -- Cougar pounce W
  359. if GetCastName(myHero, _W) == "Pounce" then
  360. if Config.W2 then
  361. if CanUseSpell(myHero, _W) == READY and IsInDistance(unit, 375) then
  362. CastTargetSpell(unit, _W)
  363. end
  364. end
  365. end
  366. -- E cast in cougar form
  367. if GetCastName(myHero, _E) == "Swipe" then
  368. if Config.E2 then
  369. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 300) then
  370. CastTargetSpell(unit, _E)
  371. end
  372. end
  373. end
  374. -- Transform back
  375. if GetCastName(myHero, _R) == "AspectOfTheCougar" then
  376. if Config.R then
  377. if unit ~= nil then
  378. if CanUseSpell(myHero, _R) == READY and CanUseSpell(myHero, _W) ~= READY and CanUseSpell(myHero, _Q) ~= READY then
  379. CastSpell(_R)
  380. end
  381. end
  382. end
  383. end
  384.  
  385. end
  386. end
  387. end)
  388. end
  389. -- Graves
  390. if GetObjectName(GetMyHero()) == "Graves" then
  391. --Menu
  392. Config = scriptConfig("Graves", "Graves")
  393. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  394. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  395. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  396. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  397. --Start
  398. OnLoop(function(myHero)
  399. local target = GetCurrentTarget()
  400. if ValidTarget(target, math.huge) then
  401. if KeyIsDown(32) then
  402. castE(target)
  403. castQ(target)
  404. castW(target)
  405. castR(target)
  406. end
  407. end
  408. end
  409. -- End
  410. -- W cast
  411. )function castW( target )
  412. if Config.W then
  413. pred = GetPredictionForPlayer(GetOrigin(target),target,GetMoveSpeed(target),math.huge,500,GetCastRange(myHero,_W),900,false,true)
  414. if IsInDistance(target, GetCastRange(myHero,_W)) and CanUseSpell(myHero,_W) == READY and pred.HitChance == 1 then
  415. CastSkillShot(_W,pred.PredPos.x,pred.PredPos.y,pred.PredPos.z)
  416. end
  417. end
  418. -- Q cast
  419. function castQ( target )
  420. if Config.Q then
  421. pred = GetPredictionForPlayer(GetOrigin(target),target,GetMoveSpeed(target),math.huge,500,GetCastRange(myHero,_Q),900,false,true)
  422. if IsInDistance(target, GetCastRange(myHero,_Q)) and CanUseSpell(myHero,_Q) == READY and pred.HitChance == 1 then
  423. CastSkillShot(_Q,pred.PredPos.x,pred.PredPos.y,pred.PredPos.z)
  424. end
  425. end
  426. -- E cast
  427. end
  428. function castE( target )
  429. if Config.E then
  430. if IsInDistance(target, GetCastRange(myHero,_E)) and CanUseSpell(myHero,_E) == READY then
  431. CastSkillShot(_E, GetMousePos().x, GetMousePos().y, GetMousePos().z)
  432. end
  433. end
  434.  
  435. -- R cast
  436. -- R cast
  437. function castR( target )
  438. pred = GetPredictionForPlayer(GetOrigin(target),target,GetMoveSpeed(target),math.huge,500,GetCastRange(myHero,_R),950,false,true)
  439. 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
  440. CastSkillShot(_R,pred.PredPos.x,pred.PredPos.y,pred.PredPos.z)
  441. end
  442. end
  443. end
  444. end
  445. end
  446. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Loaded</font>"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement