Advertisement
Cloudhax23

Untitled

Aug 19th, 2015
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 116.74 KB | None | 0 0
  1. --Version 5.2 *NEW* Cassiopiea QWE Smart E LastHit Laneclear KS.
  2.  
  3. -- Varus
  4. myIAC = IAC()
  5. unit = GetCurrentTarget()
  6. mymouse = GetMousePos()
  7. supportedHero = {["Graves"] = true , ["Ekko"] = true ,["Velkoz"] = true , ["Evelynn"] = true , ["Azir"] = true , ["Akali"] = true , ["Viktor"] = true , ["Gangplank"] = true , ["Irelia"] = true , ["Riven"] = true , ["Udyr"] = true , ["Fiora"] = true ,["Brand"] = true}
  8.  
  9. -- Cassiopeia
  10. if GetObjectName(GetMyHero()) == "Cassiopeia" then
  11. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Cassiopeia Loaded</font>"))
  12. --Menu
  13. Config = scriptConfig("Cassiopeia", "Cassiopeia")
  14. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  15. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  16. Config.addParam("E", "Use Smart E", SCRIPT_PARAM_ONOFF, true)
  17. Config.addParam("Es", "Use E", SCRIPT_PARAM_ONOFF, false)
  18. Config.addParam("Z", "LaneClear E", SCRIPT_PARAM_ONOFF, true)
  19. Config.addParam("U", "LaneClear W", SCRIPT_PARAM_ONOFF, true)
  20. Config.addParam("I", "LaneClear Q", SCRIPT_PARAM_ONOFF, true)
  21. Config.addParam("F", "LastHit E", SCRIPT_PARAM_ONOFF, true)
  22. Config.addParam("S", "Use HP W", SCRIPT_PARAM_ONOFF, true)
  23. Config.addParam("D", "Use Q KS", SCRIPT_PARAM_ONOFF, true)
  24. Config.addParam("O", "Use E KS", SCRIPT_PARAM_ONOFF, true)
  25. Config.addParam("V", "Use W KS", SCRIPT_PARAM_ONOFF, true)
  26. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  27. --Start
  28. OnLoop(function(myHero)
  29. AutoIgnite()
  30. LC()
  31. LH()
  32. KSC()
  33. if Config.Combo then
  34. local unit = GetCurrentTarget()
  35. if ValidTarget(unit, 1550) then
  36.  
  37. -- Cassiopeia E
  38. if IsInDistance(unit, 700) and Config.E and GotBuff(unit, "cassiopeianoxiousblastpoison") == 1 or GotBuff(unit, "cassiopeiamiasmapoison") == 1 or GotBuff(unit, "cassiopeiatwinfangdebuff") == 1 then
  39. CastTargetSpell(unit, _E)
  40. end
  41. if IsInDistance(unit, 700) and Config.Es then
  42. CastTargetSpell(unit, _E)
  43. end
  44. -- Cassiopeia W
  45. if Config.W then
  46. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,850,55,false,true)
  47. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 and IsInDistance(unit, 850) then
  48. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  49. end
  50. end
  51. -- Cassiopeia Q
  52. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,850,55,false,true)
  53. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 and IsInDistance(unit, 850) and Config.Q then
  54. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  55. end
  56. -- Cassiopeia R
  57. end
  58. end
  59. end)
  60. function LC()
  61. if IWalkConfig.LaneClear then
  62. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  63. if IsInDistance(Q, 700) then
  64. if Config.Z then
  65. local EnemyPos = GetOrigin(Q)
  66. if CanUseSpell(myHero, _E) == READY and IsInDistance(Q, 700) and Config.Z and GotBuff(Q, "cassiopeianoxiousblastpoison") == 1 or GotBuff(Q, "cassiopeiamiasmapoison") == 1 or GotBuff(Q, "cassiopeiatwinfangdebuff") == 1 then
  67. CastTargetSpell(Q, _E)
  68. end
  69. local EnemyPos = GetOrigin(Q)
  70. if CanUseSpell(myHero, _Q) == READY and Config.I and IsInDistance(Q, 850) then
  71. CastSkillShot(_Q,EnemyPos.x,EnemyPos.y,EnemyPos.z)
  72. end
  73. local EnemyPos = GetOrigin(Q)
  74. if CanUseSpell(myHero, _W) == READY and Config.U and IsInDistance(Q, 850) then
  75. CastSkillShot(_W,EnemyPos.x,EnemyPos.y,EnemyPos.z)
  76. end
  77. end
  78. end
  79. end
  80. end
  81. end
  82. function LH()
  83. if IWalkConfig.LastHit then
  84. if Config.F then
  85. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  86. if IsInDistance(Q, 700) then
  87. local z = (GetCastLevel(myHero,_E)*25)+(GetBonusAP(myHero)*.55)
  88. local hp = GetCurrentHP(Q)
  89. local Dmg = CalcDamage(myHero, Q, z)
  90. local Fmg = CalcDamage(myHero, Q, H)
  91. if Dmg > hp then
  92. if CanUseSpell(myHero, _E) == READY then
  93. CastTargetSpell(Q, _E)
  94. end
  95. end
  96. end
  97. end
  98. end
  99. end
  100.  
  101. end
  102. end
  103. function KSC()
  104. for i,enemy in pairs(GetEnemyHeroes()) do
  105. local z = (GetCastLevel(myHero,_E)*25)+(GetBonusAP(myHero)*.55)
  106. local H = (GetCastLevel(myHero,_Q)*40)+(GetBonusAP(myHero)*.45)
  107. local G = (GetCastLevel(myHero,_W)*45)+(GetBonusAP(myHero)*.90)
  108. local WPred = GetPredictionForPlayer(GetMyHeroPos(),enemy,GetMoveSpeed(enemy),1600,250,850,55,false,true)
  109. if CanUseSpell(myHero, _Q) == READY and WPred.HitChance == 1 and IsInDistance(enemy, 850) and Confid.D and CalcDamage(myHero, enemy, H) > GetCurrentHP(enemy) then
  110. CastSkillShot(_Q,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  111. end
  112. if CalcDamage(myHero, enemy, z) > GetCurrentHP(enemy) and IsInDistance(enemy, 700) and Config.O then
  113. CastTargetSpell(enemy, _E)
  114. end
  115. local QPred = GetPredictionForPlayer(GetMyHeroPos(),enemy,GetMoveSpeed(enemy),1600,250,850,55,false,true)
  116. if CanUseSpell(myHero, _W) == READY and QPred.HitChance == 1 and IsInDistance(enemy, 850) and Config.V and CalcDamage(myHero, enemy, G) > GetCurrentHP(enemy) then
  117. CastSkillShot(_W,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  118. end
  119. end
  120. end
  121. if GetObjectName(GetMyHero()) == "Vladimir" then
  122. --Menu
  123. Config = scriptConfig("Vladimir", "Vladimir")
  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("Z", "LaneClear E", SCRIPT_PARAM_ONOFF, true)
  129. Config.addParam("U", "LaneClear W", SCRIPT_PARAM_ONOFF, true)
  130. Config.addParam("I", "LaneClear Q", SCRIPT_PARAM_ONOFF, true)
  131. Config.addParam("F", "LastHit E", SCRIPT_PARAM_ONOFF, true)
  132. Config.addParam("Y", "LastHit Q", SCRIPT_PARAM_ONOFF, true)
  133. Config.addParam("S", "Use HP W", SCRIPT_PARAM_ONOFF, true)
  134. Config.addParam("D", "Use Q KS", SCRIPT_PARAM_ONOFF, true)
  135. Config.addParam("O", "Use E KS", SCRIPT_PARAM_ONOFF, true)
  136. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  137. --Start
  138. OnLoop(function(myHero)
  139. AutoIgnite()
  140. LaneCleared()
  141. LastHitd()
  142. KS()
  143. SaveMeW()
  144. if Config.Combo then
  145. local unit = GetCurrentTarget()
  146. if ValidTarget(unit, 1550) then
  147.  
  148. -- Vladimir E
  149. if Config.E then
  150. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,850,50,false,true)
  151. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 610) then
  152. CastSpell(_E)
  153. end
  154. end
  155.  
  156. -- Vladimir W
  157. if Config.W then
  158. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  159. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 and IsInDistance(unit, 150) then
  160. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  161. end
  162. end
  163. -- Vladimir Q
  164. if Config.Q then
  165. if CanUseSpell(myHero, _Q) == READY and IsObjectAlive(unit) and IsInDistance(unit, 600) then
  166. CastTargetSpell(unit,_Q)
  167. end
  168. end
  169. -- Vladimir R
  170. if Config.R then
  171. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,700,55,false,true)
  172. local ult = (GetCastLevel(myHero,_R)*112)+(GetBonusAP(myHero)*0.78)
  173. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 700) and CalcDamage(myHero, unit, ult) then
  174. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  175. end
  176. end
  177. end
  178.  
  179. end
  180. end)
  181. function LaneCleared()
  182. if IWalkConfig.LaneClear then
  183. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  184. if IsInDistance(Q, 650) then
  185. if Config.Z then
  186. local EnemyPos = GetOrigin(Q)
  187. if CanUseSpell(myHero, _E) == READY and IsInDistance(Q, 610) then
  188. CastSpell(_E)
  189. end
  190. if CanUseSpell(myHero, _W) == READY and IsInDistance(Q, 150) and Config.U then
  191. CastSpell(_W)
  192. end
  193. if CanUseSpell(myHero, _Q) == READY and IsInDistance(Q, 600) and Config.I then
  194. CastTargetSpell(Q, _Q)
  195. end
  196. end
  197. end
  198. end
  199. end
  200. end
  201. function LastHitd()
  202. if IWalkConfig.LastHit then
  203. if Config.F then
  204. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  205. if IsInDistance(Q, 610) then
  206. local z = (GetCastLevel(myHero,_Q)*25)+(GetBonusAP(myHero)*.45)
  207. local H = (GetCastLevel(myHero,_Q)*35)+(GetBonusAP(myHero)*.60)
  208.  
  209. local hp = GetCurrentHP(Q)
  210. local Dmg = CalcDamage(myHero, Q, z)
  211. local Fmg = CalcDamage(myHero, Q, H)
  212. if Dmg > hp then
  213. if CanUseSpell(myHero, _E) == READY then
  214. CastSpell(_E)
  215. end
  216. if Fmg > hp then
  217. if Config.Y then
  218. if CanUseSpell(myHero, _Q) == READY and IsObjectAlive(Q) and IsInDistance(Q, 600) then
  219. CastTargetSpell(Q,_Q)
  220. end
  221. end
  222. end
  223. end
  224. end
  225. end
  226. end
  227.  
  228. end
  229. end
  230. function SaveMeW()
  231. if Config.S then
  232. if CanUseSpell(myHero, _W) and (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.15 and GotBuff(myHero, "recall") == 0 then
  233. CastSpell(_W)
  234. end
  235. end
  236. end
  237. function KS()
  238. for i,enemy in pairs(GetEnemyHeroes()) do
  239. local z = (GetCastLevel(myHero,_Q)*25)+(GetBonusAP(myHero)*.45)
  240. local H = (GetCastLevel(myHero,_Q)*35)+(GetBonusAP(myHero)*.60)
  241. if CalcDamage(myHero, enemy, H) > GetCurrentHP(enemy) and IsInDistance(enemy, 600) and Config.D then
  242. CastTargetSpell(enemy, _Q)
  243. end
  244. if CalcDamage(myHero, enemy, z) > GetCurrentHP(enemy) and IsInDistance(enemy, 610) and Config.O then
  245. CastSpell(_E)
  246. end
  247. end
  248. end
  249. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Vladimir Loaded</font>"))
  250. end
  251. if GetObjectName(GetMyHero()) == "Varus" then
  252. --Menu
  253. Config = scriptConfig("Varus", "Varus")
  254. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  255. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  256. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  257. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  258. Config.addParam("F", "LaneClear", SCRIPT_PARAM_ONOFF, true)
  259. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  260. --Start
  261. OnLoop(function(myHero)
  262. AutoIgnite()
  263. LaneClearE()
  264. if Config.Combo then
  265. local unit = GetCurrentTarget()
  266. if ValidTarget(unit, 1550) then
  267.  
  268. -- Varus E
  269. if Config.E then
  270. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,850,50,false,true)
  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.  
  276. -- Varus W
  277. -- Varus Q
  278. if CanUseSpell(myHero, _Q) == READY and ValidTarget(target, 1625) and Config.Q then
  279. local myHeroPos = GetMyHeroPos()
  280. CastSkillShot(_Q, myHeroPos.x, myHeroPos.y, myHeroPos.z)
  281. for i=250, 1625, 250 do
  282. DelayAction(function()
  283. local _Qrange = 225 + math.min(225, i/2)
  284. local Pred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1625,50,false,true)
  285. if Pred.HitChance >= 1 then
  286. CastSkillShot2(_Q, Pred.PredPos.x, Pred.PredPos.y, Pred.PredPos.z)
  287. end
  288. end, i)
  289. end
  290. end
  291. -- Varus R
  292. if Config.R then
  293. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  294. local ult = (GetCastLevel(myHero,_R)*200)+(GetBonusAP(myHero)*.6)
  295. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  296. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  297. end
  298. end
  299. end
  300.  
  301. end
  302. end)
  303. function LaneClearE()
  304. if IWalkConfig.LaneClear then
  305. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  306. if IsInDistance(Q, 650) then
  307. if Config.F then
  308. -- Syndra cast W at Enemy
  309. local EnemyPos = GetOrigin(Q)
  310. if CanUseSpell(myHero, _E) == READY then
  311. CastSkillShot(_E,EnemyPos.x,EnemyPos.y,EnemyPos.z)
  312. end
  313. end
  314. end
  315. end
  316. end
  317. end
  318. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Varus Loaded</font>"))
  319. end
  320. if GetObjectName(GetMyHero()) == "Ziggs" then
  321. --Menu
  322. Config = scriptConfig("Ziggs", "Ziggs")
  323. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  324. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  325. Config.addParam("KsQ", "Use Q in KS", SCRIPT_PARAM_ONOFF, false)
  326. Config.addParam("KsW", "Use W in KS", SCRIPT_PARAM_ONOFF, false)
  327. Config.addParam("KsR", "Use R in KS", SCRIPT_PARAM_ONOFF, false)
  328. Config.addParam("F", "LaneClear", SCRIPT_PARAM_ONOFF, true)
  329. --Config.addParam("J", "JungleClear", SCRIPT_PARAM_ONOFF, true)
  330. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  331. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  332. Config.addParam("H", "Use Q Harass", SCRIPT_PARAM_ONOFF, false)
  333. Config.addParam("Z", "Use E Harass", SCRIPT_PARAM_ONOFF, false)
  334. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  335. LevelConfig = scriptConfig("Level", "Auto Level")
  336. LevelConfig.addParam("L1","Max QE",SCRIPT_PARAM_ONOFF,false)
  337. DrawingsConfig = scriptConfig("Drawings", "Drawings")
  338. DrawingsConfig.addParam("DrawQ","Draw Q", SCRIPT_PARAM_ONOFF, true)
  339. DrawingsConfig.addParam("DrawW","Draw W", SCRIPT_PARAM_ONOFF, true)
  340. DrawingsConfig.addParam("DrawE","Draw E", SCRIPT_PARAM_ONOFF, true)
  341. --Start
  342. OnLoop(function(myHero)
  343. AutoIgnite()
  344. LevelUp2()
  345. Harass2()
  346. Killsteal2()
  347. --LaneClear2()
  348. --JungleClear()
  349. -- Ziggs Q
  350. if Config.Combo then
  351. local unit = GetCurrentTarget()
  352. if ValidTarget(unit, 1550) then
  353. -- Ziggs Q
  354.  
  355. if Config.Q then
  356. if GetCastName(myHero, _Q) == "ZiggsQ" then
  357. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero, _Q),50,true,true)
  358. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  359. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  360. end
  361. end
  362. end
  363. -- Ziggs E
  364. if GetCastName(myHero, _E) == "ZiggsE" then
  365. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,true,true)
  366. if Config.E then
  367. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  368. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  369. end
  370. end
  371. end
  372. -- Ziggs W
  373. if GetCastName(myHero, _W) == "ZiggsW" then
  374. if Config.W then
  375. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,5300,50,false,true)
  376. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.3 and
  377. CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  378. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  379. end
  380. end
  381. end
  382. -- Ziggs R
  383. if GetCastName(myHero, _R) == "ZiggsR" then
  384. if Config.R then
  385. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,5300,55,false,true)
  386. local ult = (GetCastLevel(myHero,_R)*100)+(GetBonusDmg(myHero)*1.5)
  387. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  388. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  389. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  390. end
  391. end
  392. end
  393. end
  394. end
  395. end
  396. end)
  397. function JungleClear2()
  398. for _,Q in pairs(GetAllMinions(MINION_JUNGLE)) do
  399. if IsInDistance(Q, 650) then
  400. if Config.J then
  401. local QPred = GetPredictionForPlayer(GetMyHeroPos(),Q,GetMoveSpeed(Q),1700,250,800,50,false,true)
  402. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  403. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  404. end
  405. end
  406. if Config.Y then
  407. if CanUseSpell(myHero, _W) == READY then
  408. CastTargetSpell(Obj_AI_Minion, _W)
  409. end
  410. end
  411. -- Ziggs cast W at Enemy
  412. local WPred = GetPredictionForPlayer(GetMyHeroPos(),Q,GetMoveSpeed(Q),1700,250,925,50,false,true)
  413. if Config.Y then
  414. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  415. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  416. end
  417. end
  418. end
  419. end
  420. end
  421. function LevelUp2()
  422. if LevelConfig.L1 then
  423. if GetLevel(myHero) == 1 then
  424. LevelSpell(_Q)
  425. elseif GetLevel(myHero) == 2 then
  426. LevelSpell(_E)
  427. elseif GetLevel(myHero) == 3 then
  428. LevelSpell(_W)
  429. elseif GetLevel(myHero) == 4 then
  430. LevelSpell(_Q)
  431. elseif GetLevel(myHero) == 5 then
  432. LevelSpell(_Q)
  433. elseif GetLevel(myHero) == 6 then
  434. LevelSpell(_R)
  435. elseif GetLevel(myHero) == 7 then
  436. LevelSpell(_Q)
  437. elseif GetLevel(myHero) == 8 then
  438. LevelSpell(_Q)
  439. elseif GetLevel(myHero) == 9 then
  440. LevelSpell(_E)
  441. elseif GetLevel(myHero) == 10 then
  442. LevelSpell(_E)
  443. elseif GetLevel(myHero) == 11 then
  444. LevelSpell(_R)
  445. elseif GetLevel(myHero) == 12 then
  446. LevelSpell(_E)
  447. elseif GetLevel(myHero) == 13 then
  448. LevelSpell(_E)
  449. elseif GetLevel(myHero) == 14 then
  450. LevelSpell(_W)
  451. elseif GetLevel(myHero) == 15 then
  452. LevelSpell(_W)
  453. elseif GetLevel(myHero) == 16 then
  454. LevelSpell(_R)
  455. elseif GetLevel(myHero) == 17 then
  456. LevelSpell(_W)
  457. elseif GetLevel(myHero) == 18 then
  458. LevelSpell(_W)
  459. end
  460. end
  461. end
  462. end
  463. function Killsteal2()
  464. local unit = GetCurrentTarget()
  465. if ValidTarget(unit, 1550) then
  466. for i,enemy in pairs(GetEnemyHeroes()) do
  467. local z = ((GetCastLevel(myHero,_Q)*45)+(GetBonusAP(myHero)*1))
  468. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero, _Q),50,true,true)
  469. if CanUseSpell(myHero, _Q) == READY and ValidTarget(enemy,GetCastRange(myHero,_Q)) and Config.KsQ
  470. and CalcDamage(myHero, enemy, z) > GetCurrentHP(unit) then
  471. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  472. end
  473. end
  474. if GetCastName(myHero, _R) == "ZiggsR" then
  475. if Config.KsR then
  476. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,5300,55,false,true)
  477. local ult = (GetCastLevel(myHero,_R)*100)+(GetBonusDmg(myHero)*1.5)
  478. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  479. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  480. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  481. end
  482. end
  483. end
  484. end
  485. -- Ziggs cast W at Enemy
  486. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,925,50,true,true)
  487. if Config.KsW then
  488. local ult = (GetCastLevel(myHero,_R)*35)+(GetBonusAP(myHero)*.5)
  489. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 and CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  490. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  491. end
  492. end
  493. end
  494. end
  495. function LaneClear2()
  496. if IWalkConfig.LaneClear then
  497. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  498. local EnemyPos = GetOrigin(Q)
  499. if IsInDistance(Q, 650) then
  500. if Config.F then
  501. local QPred = GetPredictionForPlayer(GetMyHeroPos(),Q,GetMoveSpeed(Q),1700,250,800,50,false,true)
  502. if CanUseSpell(myHero, _Q) == READY and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .45 then
  503. CastSkillShot(_Q,EnemyPos.x,EnemyPos.y,EnemyPos.z)
  504. end
  505. end
  506. -- Ziggs cast W at Enemy
  507. local WPred = GetPredictionForPlayer(GetMyHeroPos(),Q,GetMoveSpeed(Q),1700,250,925,50,false,true)
  508. if CanUseSpell(myHero, _W) == READY and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .45 then
  509. CastSkillShot(_W,EnemyPos.x,EnemyPos.y,EnemyPos.z)
  510. end
  511. end
  512. end
  513. end
  514. end
  515.  
  516. function Harass2()
  517. if IWalkConfig.Harass then
  518. if Config.H then
  519. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero, _Q),50,true,true)
  520. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .45 then
  521. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  522. end
  523. end
  524. if Config.Z then
  525. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,925,50,true,true)
  526. if CanUseSpell(myHero, _E) == READY and QPred.HitChance == 1 and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .45 then
  527. CastSkillShot(_E,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  528. end
  529. end
  530. end
  531. myHeroPos = GetOrigin(myHero)
  532. DrawCircle(9022, 52.840878, 4360,80,1,1,0xffffffff)
  533. DrawCircle(12060, 51, 4806,80,1,1,0xffffffff)
  534. if CanUseSpell(myHero, _Q) == READY and DrawingsConfig.DrawQ then DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z,GetCastRange(myHero,_Q),3,100,0xffff00ff) end
  535. if CanUseSpell(myHero, _E) == READY and DrawingsConfig.DrawE then DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z, GetCastRange(myHero,_E) ,3,100,0xffff00ff) end
  536. if CanUseSpell(myHero, _W) == READY and DrawingsConfig.DrawW then DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z,GetCastRange(myHero,_W),3,100,0xffff00ff) end
  537. end
  538. if GetObjectName(GetMyHero()) == "Syndra" then
  539. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Syndra Loaded</font>"))
  540. --Menu
  541. Config = scriptConfig("Syndra", "Syndra")
  542. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  543. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  544. Config.addParam("KsQ", "Use Q in KS", SCRIPT_PARAM_ONOFF, true)
  545. Config.addParam("KsW", "Use W in KS", SCRIPT_PARAM_ONOFF, true)
  546. Config.addParam("KsR", "Use R in KS", SCRIPT_PARAM_ONOFF, true)
  547. Config.addParam("F", "LaneClear", SCRIPT_PARAM_ONOFF, true)
  548. --Config.addParam("J", "JungleClear", SCRIPT_PARAM_ONOFF, true)
  549. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  550. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  551. Config.addParam("H", "Use Q Harass", SCRIPT_PARAM_ONOFF, true)
  552. Config.addParam("Y", "Use W Harass", SCRIPT_PARAM_ONOFF, true)
  553. Config.addParam("Stun", "Press to Stun", SCRIPT_PARAM_KEYDOWN, string.byte("T")) --Maxxel logic
  554. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  555. LevelConfig = scriptConfig("Level", "Auto Level")
  556. LevelConfig.addParam("L1","Max EQ",SCRIPT_PARAM_ONOFF,false)
  557. DrawingsConfig = scriptConfig("Drawings", "Drawings")
  558. DrawingsConfig.addParam("DrawQ","Draw Q", SCRIPT_PARAM_ONOFF, true)
  559. DrawingsConfig.addParam("DrawW","Draw W", SCRIPT_PARAM_ONOFF, true)
  560. DrawingsConfig.addParam("DrawE","Draw E", SCRIPT_PARAM_ONOFF, true)
  561. DrawingsConfig.addParam("DrawR","Draw R", SCRIPT_PARAM_ONOFF, true)
  562. --Start
  563. OnLoop(function(myHero)
  564. AutoIgnite()
  565. Stun()
  566. LevelUp3()
  567. Harass3()
  568.  
  569. Killsteal3()
  570. LaneClear3()
  571. --JungleClear()
  572. if Config.Combo then
  573. local unit = GetCurrentTarget()
  574. if ValidTarget(unit, 1200) then
  575.  
  576. -- Syndra Q cast
  577. if GetCastName(myHero, _Q) == "SyndraQ" then
  578. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,800,50,false,true)
  579. if Config.Q then
  580. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  581. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  582. end
  583. end
  584. end
  585.  
  586. -- Syndra cast W on Minion
  587. if GetCastName(myHero, _W) == "SyndraW" then
  588. if Config.W then
  589. if CanUseSpell(myHero, _W) == READY then
  590. CastTargetSpell(Obj_AI_Minion, _W)
  591. end
  592. end
  593. end
  594. -- Syndra cast W at Enemy
  595. if GetCastName(myHero, _W) == "SyndraW" then
  596. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,925,50,true,true)
  597. if Config.W then
  598. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  599. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  600. end
  601. end
  602. end
  603. -- Syndra PUSH
  604. if GetCastName(myHero, _E) == "SyndraE" then
  605. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,700,50,true,true)
  606. if Config.E then
  607. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  608. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  609. end
  610. end
  611. end
  612. -- Syndra Ultimate
  613. if GetCastName(myHero, _R) == "SyndraR" then
  614. if Config.R then
  615. if unit ~= nil then
  616. local ult = (GetCastLevel(myHero,_R)*135)+(GetBonusAP(myHero)*.6)
  617. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 675) then
  618. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  619. CastTargetSpell(unit, _R)
  620. end
  621. end
  622. end
  623. end
  624. end
  625.  
  626. end
  627. end
  628. end)
  629. function JungleClear3()
  630. for _,Q in pairs(GetAllMinions(MINION_JUNGLE)) do
  631. if IsInDistance(Q, 650) then
  632. if Config.J then
  633. if GetCastName(myHero, _Q) == "SyndraQ" then
  634. local QPred = GetPredictionForPlayer(GetMyHeroPos(),Q,GetMoveSpeed(Q),1700,250,800,50,false,true)
  635. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  636. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  637. end
  638. end
  639. end
  640. if GetCastName(myHero, _W) == "SyndraW" then
  641. if Config.Y then
  642. if CanUseSpell(myHero, _W) == READY then
  643. CastTargetSpell(Obj_AI_Minion, _W)
  644. end
  645. end
  646. end
  647. -- Syndra cast W at Enemy
  648. if GetCastName(myHero, _W) == "SyndraW" then
  649. local WPred = GetPredictionForPlayer(GetMyHeroPos(),Q,GetMoveSpeed(Q),1700,250,925,50,false,true)
  650. if Config.Y then
  651. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  652. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  653. end
  654. end
  655. end
  656. end
  657. end
  658. end
  659. function LevelUp3()
  660. if LevelConfig.L1 then
  661. if GetLevel(myHero) == 1 then
  662. LevelSpell(_Q)
  663. elseif GetLevel(myHero) == 2 then
  664. LevelSpell(_W)
  665. elseif GetLevel(myHero) == 3 then
  666. LevelSpell(_E)
  667. elseif GetLevel(myHero) == 4 then
  668. LevelSpell(_Q)
  669. elseif GetLevel(myHero) == 5 then
  670. LevelSpell(_Q)
  671. elseif GetLevel(myHero) == 6 then
  672. LevelSpell(_R)
  673. elseif GetLevel(myHero) == 7 then
  674. LevelSpell(_Q)
  675. elseif GetLevel(myHero) == 8 then
  676. LevelSpell(_Q)
  677. elseif GetLevel(myHero) == 9 then
  678. LevelSpell(_W)
  679. elseif GetLevel(myHero) == 10 then
  680. LevelSpell(_W)
  681. elseif GetLevel(myHero) == 11 then
  682. LevelSpell(_R)
  683. elseif GetLevel(myHero) == 12 then
  684. LevelSpell(_W)
  685. elseif GetLevel(myHero) == 13 then
  686. LevelSpell(_E)
  687. elseif GetLevel(myHero) == 14 then
  688. LevelSpell(_E)
  689. elseif GetLevel(myHero) == 15 then
  690. LevelSpell(_E)
  691. elseif GetLevel(myHero) == 16 then
  692. LevelSpell(_R)
  693. elseif GetLevel(myHero) == 17 then
  694. LevelSpell(_E)
  695. elseif GetLevel(myHero) == 18 then
  696. LevelSpell(_E)
  697. end
  698. end
  699. end
  700. end
  701. function Killsteal3()
  702. local unit = GetCurrentTarget()
  703. if ValidTarget(unit, 1550) then
  704. for i,enemy in pairs(GetEnemyHeroes()) do
  705. local z = ((GetCastLevel(myHero,_Q)*45)+(GetBonusAP(myHero)*1.6))
  706. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,800,50,true,true)
  707. if CanUseSpell(myHero, _Q) == READY and ValidTarget(enemy,GetCastRange(myHero,_Q)) and Config.KsQ
  708. and CalcDamage(myHero, enemy, z) > GetCurrentHP(unit) then
  709. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  710. end
  711. end
  712. if GetCastName(myHero, _R) == "SyndraR" then
  713. if Config.KsR then
  714. if unit ~= nil then
  715. local ult = (GetCastLevel(myHero,_R)*135)+(GetBonusAP(myHero)*1.5)
  716. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 675) then
  717. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  718. CastTargetSpell(unit, _R)
  719. end
  720. end
  721. end
  722. end
  723. end
  724. if GetCastName(myHero, _W) == "SyndraW" then
  725. if Config.KsW then
  726. local ult = (GetCastLevel(myHero,_R)*40)+(GetBonusAP(myHero)*1)
  727. if CanUseSpell(myHero, _W) == READY then if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  728. CastTargetSpell(Obj_AI_Minion, _W)
  729. end
  730. end
  731. end
  732. end
  733. -- Syndra cast W at Enemy
  734. if GetCastName(myHero, _W) == "SyndraW" then
  735. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,925,50,true,true)
  736. if Config.KsW then
  737. local ult = (GetCastLevel(myHero,_R)*40)+(GetBonusAP(myHero)*1)
  738.  
  739. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  740. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  741. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  742. end
  743. end
  744. end
  745. end
  746. end
  747. end
  748. function Stun()
  749. local unit = GetCurrentTarget() --Maxxxel logic
  750. local myHeroPos = GetOrigin(myHero)
  751. if Config.Stun then
  752. if ValidTarget(unit,1200) then
  753. local timea
  754. local distanceStun=0
  755. if timea~=nil and CanUseSpell(myHero, _Q) ~= READY and CanUseSpell(myHero, _E) ~= READY then
  756. timea=nil
  757. end
  758. ---Values---
  759. local enemyposition = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1200,50,true,true)
  760. enemyposx=enemyposition.PredPos.x
  761. enemyposy=enemyposition.PredPos.y
  762. enemyposz=enemyposition.PredPos.z
  763. local TargetPos = Vector(enemyposx,enemyposy,enemyposz)
  764. if GetDistance(unit)>=700 then
  765. distanceStun=GetDistance(unit)-700
  766. end
  767. if GetDistance(unit)<700 then
  768. distanceStun=0
  769. end
  770. local firePos = TargetPos-(TargetPos-myHeroPos)*(distanceStun/GetDistance(unit))
  771. local dPredict = GetDistance(myHero,firePosPoint)
  772. ---Values end---
  773. if CanUseSpell(myHero, _Q) == READY and CanUseSpell(myHero, _E) == READY and timea==nil then
  774. if dPredict < 1200 then
  775. CastSkillShot(_Q,firePos.x,0,firePos.z)
  776. timea = GetTickCount()
  777. end
  778. end
  779. if CanUseSpell(myHero, _E) == READY and timea~=GetTickCount() then
  780. CastSkillShot(_E,firePos.x,0,firePos.z)
  781. end
  782. end
  783. Move()
  784. end
  785. end
  786. function Move()
  787. local movePos = GenerateMovePos()
  788. if GetDistance(GetMousePos()) > GetHitBox(myHero) then
  789. MoveToXYZ(movePos.x, 0, movePos.z)
  790. end
  791. end
  792. function LaneClear3()
  793. if IWalkConfig.LaneClear then
  794. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  795.  
  796. if IsInDistance(Q, 700) then
  797. if Config.F then
  798. if GetCastName(myHero, _Q) == "SyndraQ" then
  799. local QPred = GetPredictionForPlayer(GetMyHeroPos(),Q,GetMoveSpeed(Q),1700,250,800,50,false,true)
  800. local EnemyPos = GetOrigin(Q)
  801. if CanUseSpell(myHero, _Q) == READY then
  802. CastSkillShot(_Q,EnemyPos.x,EnemyPos.y,EnemyPos.z)
  803. end
  804. end
  805. end
  806. if GetCastName(myHero, _W) == "SyndraW" then
  807. local EnemyPos = GetOrigin(Q)
  808. if CanUseSpell(myHero, _W) == READY then
  809. CastTargetSpell(Obj_AI_Minion, _W)
  810. end
  811. end
  812.  
  813. -- Syndra cast W at Enemy
  814. if GetCastName(myHero, _W) == "SyndraW" then
  815. local WPred = GetPredictionForPlayer(GetMyHeroPos(),Q,GetMoveSpeed(Q),1700,250,925,50,false,true)
  816. local EnemyPos = GetOrigin(Q)
  817. if CanUseSpell(myHero, _W) == READY then
  818. CastSkillShot(_W,EnemyPos.x,EnemyPos.y,EnemyPos.z)
  819. end
  820. end
  821.  
  822. end
  823. end
  824. end
  825. end
  826.  
  827. function Harass3()
  828. if IWalkConfig.Harass then
  829. if Config.H then
  830. if GetCastName(myHero, _Q) == "SyndraQ" then
  831. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,800,50,true,true)
  832. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .45 then
  833. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  834. end
  835. end
  836. end
  837. if GetCastName(myHero, _W) == "SyndraW" then
  838. if Config.Y then
  839. if CanUseSpell(myHero, _W) == READY and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .45 then
  840. CastTargetSpell(Obj_AI_Minion, _W)
  841. end
  842. end
  843. end
  844. -- Syndra cast W at Enemy
  845. if GetCastName(myHero, _W) == "SyndraW" then
  846. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,925,50,true,true)
  847. if Config.Y then
  848. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .45 then
  849. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  850. end
  851. end
  852. end
  853. end
  854. myHeroPos = GetOrigin(myHero)
  855. DrawCircle(9022, 52.840878, 4360,80,1,1,0xffffffff)
  856. DrawCircle(12060, 51, 4806,80,1,1,0xffffffff)
  857. if CanUseSpell(myHero, _Q) == READY and DrawingsConfig.DrawQ then DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z,GetCastRange(myHero,_Q),3,100,0xffff00ff) end
  858. if CanUseSpell(myHero, _E) == READY and DrawingsConfig.DrawE then DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z, GetCastRange(myHero,_E) ,3,100,0xffff00ff) end
  859. if CanUseSpell(myHero, _W) == READY and DrawingsConfig.DrawW then DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z,GetCastRange(myHero,_W),3,100,0xffff00ff) end
  860. if CanUseSpell(myHero, _R) == READY and DrawingsConfig.DrawR then DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z, GetCastRange(myHero,_R) ,3,100,0xffff00ff) end
  861. end
  862. -- kalista
  863. if GetObjectName(GetMyHero()) == "Kalista" then
  864. --Menu
  865. Config = scriptConfig("Kalista", "Kalista")
  866. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  867. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  868. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  869. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  870. Config.addParam("Rs", "Use R Save", SCRIPT_PARAM_ONOFF, true)
  871. Config.addParam("F", "E Clear", SCRIPT_PARAM_ONOFF, true)
  872. Config.addParam("Z", "Spam E", SCRIPT_PARAM_KEYDOWN, string.byte("C"))
  873. Config.addParam("M", "Execute Jungle", SCRIPT_PARAM_ONOFF, true)
  874. Config.addParam("N", "Auto E Kill", SCRIPT_PARAM_ONOFF, true)
  875. Config.addParam("I", "KS Q", SCRIPT_PARAM_ONOFF, true)
  876. Config.addParam("G", "Send Ghost", SCRIPT_PARAM_KEYDOWN, string.byte("T"))
  877. Config.addParam("X", "Wall Jump 1", SCRIPT_PARAM_KEYDOWN, string.byte("L"))
  878. Config.addParam("Y", "Wall Jump 2", SCRIPT_PARAM_KEYDOWN, string.byte("K"))
  879. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  880. ItemsConfig = scriptConfig("Items", "Items")
  881. ItemsConfig.addParam("I4","Use QSS",SCRIPT_PARAM_ONOFF,true)
  882. LevelConfig = scriptConfig("Level", "Auto Level")
  883. LevelConfig.addParam("L1","Max EQ",SCRIPT_PARAM_ONOFF,false)
  884. LevelConfig.addParam("L2","Max EW",SCRIPT_PARAM_ONOFF,false)
  885. DrawingsConfig = scriptConfig("Drawings", "Drawings")
  886. DrawingsConfig.addParam("DrawQ","Draw Q", SCRIPT_PARAM_ONOFF, true)
  887. DrawingsConfig.addParam("DrawE","Draw E", SCRIPT_PARAM_ONOFF, true)
  888. DrawingsConfig.addParam("DrawDMG", "Draw Damage", SCRIPT_PARAM_ONOFF, true)
  889. DrawingsConfig.addParam("DrawQW", "Draw Wall Jump", SCRIPT_PARAM_ONOFF, true)
  890. --Start
  891. OnLoop(function(myHero)
  892. Killsteal()
  893. AutoIgnite()
  894. Drawings()
  895. LevelUpMeleeSupport()
  896. LevelUp()
  897. LaneClear()
  898. JungleClear()
  899. Ghost()
  900. WallJump()
  901. if Config.Combo then
  902. local unit = GetCurrentTarget()
  903. if ValidTarget(unit, 1550) then
  904.  
  905. if DrawingsConfig.DrawDMG then
  906. local hp = GetCurrentHP(unit)
  907. local dmg = 0
  908. local targetPos = GetOrigin(unit)
  909. local drawPos = WorldToScreen(1,targetPos.x,targetPos.y,targetPos.z)
  910. if CanUseSpell(myHero, _Q) == READY then
  911. local Dmgz = GetBonusDmg(myHero)+GetBaseDamage(myHero)
  912. dmg = dmg + CalcDamage(myHero, unit, GotBuff(unit,"kalistaexpungemarker") > 0 and (10 + (10 * GetCastLevel(myHero,_E)) + (Dmgz * 0.6)) + (GotBuff(unit,"kalistaexpungemarker")-1) * (kalE(GetCastLevel(myHero,_E)) + (0.175 + 0.025 * GetCastLevel(myHero,_E))*Dmgz) or 0)
  913. end
  914. if CanUseSpell(myHero, _E) == READY then
  915. dmg = dmg + CalcDamage(myHero, unit, 0, 10 + 10*GetCastLevel(myHero,_E) + 0.6*GetBonusDmg(myHero))
  916. end
  917. if dmg > hp then
  918. DrawText("Killable",20,drawPos.x,drawPos.y,0xffffffff)
  919. DrawDmgOverHpBar(unit,hp,0,hp,0xffffffff)
  920. else
  921. DrawText(math.floor(100 * dmg / hp).."%",20,drawPos.x,drawPos.y,0xffffffff)
  922. DrawDmgOverHpBar(unit
  923. ,hp,0,dmg,0xffffffff)
  924. end
  925. end
  926. if GetItemSlot(myHero,3140) > 0 and ItemsConfig.I4 and GotBuff(myHero, "Stun") == 1 then
  927. CastTargetSpell(unit, GetItemSlot(myHero,3140))
  928. end
  929. if GetItemSlot(myHero,3139) > 0 and ItemsConfig.I4 and GotBuff(myHero, "Stun") == 1 then
  930. CastTargetSpell(unit, GetItemSlot(myHero,3139))
  931. end
  932. if Config.Q then
  933. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1150,50,true,true)
  934. if CanUseSpell(myHero, _Q) == READY then
  935. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  936. end
  937. end
  938. --kalista E
  939.  
  940. if Config.E then
  941. local Dmgz= GetBonusDmg(myHero)+GetBaseDamage(myHero)
  942. local dmg = (GotBuff(unit,"kalistaexpungemarker") > 0 and (10 + (10 * GetCastLevel(myHero,_E)) + (Dmgz * 0.6)) + (GotBuff(unit,"kalistaexpungemarker")-1) * (GetCastLevel(myHero,_E) + (0.175 + 0.025 * GetCastLevel(myHero,_E))*Dmgz) or 0)
  943. if CalcDamage(myHero, unit, dmg) > GetCurrentHP(unit) then
  944. if CanUseSpell(myHero,_E) == READY then
  945. CastSpell(_E)
  946. end
  947. end
  948. end
  949. if IWalkConfig.Harass then
  950. if Config.Z then
  951. if GotBuff(unit,"kalistaexpungemarker") > 4 then
  952. if CanUseSpell(myHero,_E) == READY and IsInDistance(unit, 1200) then
  953. CastSpell(_E)
  954. end
  955. end
  956. end
  957. end
  958. -- Cast R
  959. if Config.R then
  960. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.6 and
  961. IsObjectAlive(unit) and
  962. CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1200) and EnemiesAround(GetMyHeroPos(), 1400) >= 2 then
  963. CastSpell(_R)
  964. end
  965. end
  966. end
  967. end
  968. end)
  969. -- LanClear
  970. function LaneClear()
  971. if IWalkConfig.LaneClear then
  972. if Config.F then
  973. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  974. if IsInDistance(Q, 650) then
  975. local Dmgz = GetBonusDmg(myHero)+GetBaseDamage(myHero)
  976. local dmg = (GotBuff(Q,"kalistaexpungemarker") > 0 and (10 + (10 * GetCastLevel(myHero,_E)) + (Dmgz * 0.6)) + (GotBuff(Q,"kalistaexpungemarker")-1) * (kalE(GetCastLevel(myHero,_E)) + (0.175 + 0.025 * GetCastLevel(myHero,_E))*Dmgz) or 0)
  977. local hp = GetCurrentHP(Q)
  978. local Dmg = CalcDamage(myHero, Q, dmg)
  979. if Dmg > hp then
  980. if CanUseSpell(myHero,_E) == READY and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .35 then
  981. CastSpell(_E)
  982. end
  983. end
  984. end
  985. end
  986. end
  987. end
  988. end
  989. function Ghost()
  990. if Config.G then
  991. if CanUseSpell(myHero, _W) == READY then
  992. CastSkillShot(_W,10092.000000, -71.240601, 4452.000000)
  993. end
  994. end
  995. end
  996. function WallJump()
  997. local HeroPos = GetOrigin(myHero)
  998. if Config.X and HeroPos.x == 11972 and HeroPos.z == 4708 then
  999. CastSkillShot(_Q,11572, -71.240601, 4102)
  1000. MoveToXYZ(11572, -71.240601, 4102)
  1001. elseif Config.X then
  1002. MoveToXYZ(11972, 59.729401, 4708)
  1003.  
  1004. end
  1005. if Config.Y and HeroPos.x == 9022 and HeroPos.z == 4360 then
  1006. CastSkillShot(_Q,9744, -71.240601, 4654)
  1007. MoveToXYZ(9634, -71.240601, 4544)
  1008. elseif Config.Y then
  1009. MoveToXYZ(9022, 52.840878, 4360)
  1010.  
  1011. end
  1012. end
  1013. function JungleClear()
  1014. if IWalkConfig.JungleClear then
  1015. if Config.M then
  1016. for _,Q in pairs(GetAllMinions(MINION_JUNGLE)) do
  1017. if IsInDistance(Q, 650) then
  1018. local Dmgz = GetBonusDmg(myHero)+GetBaseDamage(myHero)
  1019. local dmg = (GotBuff(Q,"kalistaexpungemarker") > 0 and (10 + (10 * GetCastLevel(myHero,_E)) + (Dmgz * 0.6)) + (GotBuff(Q,"kalistaexpungemarker")-1) * (kalE(GetCastLevel(myHero,_E)) + (0.175 + 0.025 * GetCastLevel(myHero,_E))*Dmgz) or 0)
  1020. local hp = GetCurrentHP(Q)
  1021. local Dmg = CalcDamage(myHero, Q, dmg)
  1022. if Dmg > hp then
  1023. if CanUseSpell(myHero,_E) == READY and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .35 then
  1024. CastSpell(_E)
  1025. end
  1026. end
  1027. end
  1028. end
  1029. end
  1030. end
  1031. end
  1032. function Killsteal()
  1033. local unit = GetCurrentTarget()
  1034. if ValidTarget(unit, 1550) then
  1035. for i,enemy in pairs(GetEnemyHeroes()) do
  1036. local z = ((GetCastLevel(myHero,_Q)*30)+(GetBonusDmg(myHero)*1.9))
  1037. if CanUseSpell(myHero, _Q) == READY and ValidTarget(enemy,GetCastRange(myHero,_Q)) and Config.I
  1038. and (GetCastLevel(myHero,_Q)*60)+(GetBonusDmg(myHero)*1) and CalcDamage(myHero, enemy, z) > GetCurrentHP(unit) then
  1039. CastTargetSpell(enemy, _Q)
  1040. end
  1041. end
  1042. if Config.N then
  1043. local Dmgz= GetBonusDmg(myHero)+GetBaseDamage(myHero)
  1044. local dmg = (GotBuff(unit,"kalistaexpungemarker") > 0 and (10 + (10 * GetCastLevel(myHero,_E)) + (Dmgz * 0.6)) + (GotBuff(unit,"kalistaexpungemarker")-1) * (kalE(GetCastLevel(myHero,_E)) + (0.175 + 0.025 * GetCastLevel(myHero,_E))*Dmgz) or 0)
  1045. if CalcDamage(myHero, unit, dmg) > GetCurrentHP(unit) then
  1046. if CanUseSpell(myHero,_E) == READY then
  1047. CastSpell(_E)
  1048. end
  1049. end
  1050. end
  1051. end
  1052. end
  1053. function LevelUpMeleeSupport()
  1054. if LevelConfig.L2 then
  1055. if GetLevel(myHero) == 1 then
  1056. LevelSpell(_E)
  1057. elseif GetLevel(myHero) == 2 then
  1058. LevelSpell(_W)
  1059. elseif GetLevel(myHero) == 3 then
  1060. LevelSpell(_Q)
  1061. elseif GetLevel(myHero) == 4 then
  1062. LevelSpell(_E)
  1063. elseif GetLevel(myHero) == 5 then
  1064. LevelSpell(_E)
  1065. elseif GetLevel(myHero) == 6 then
  1066. LevelSpell(_R)
  1067. elseif GetLevel(myHero) == 7 then
  1068. LevelSpell(_E)
  1069. elseif GetLevel(myHero) == 8 then
  1070. LevelSpell(_E)
  1071. elseif GetLevel(myHero) == 9 then
  1072. LevelSpell(_W)
  1073. elseif GetLevel(myHero) == 10 then
  1074. LevelSpell(_W)
  1075. elseif GetLevel(myHero) == 11 then
  1076. LevelSpell(_R)
  1077. elseif GetLevel(myHero) == 12 then
  1078. LevelSpell(_W)
  1079. elseif GetLevel(myHero) == 13 then
  1080. LevelSpell(_Q)
  1081. elseif GetLevel(myHero) == 14 then
  1082. LevelSpell(_Q)
  1083. elseif GetLevel(myHero) == 15 then
  1084. LevelSpell(_Q)
  1085. elseif GetLevel(myHero) == 16 then
  1086. LevelSpell(_R)
  1087. elseif GetLevel(myHero) == 17 then
  1088. LevelSpell(_Q)
  1089. elseif GetLevel(myHero) == 18 then
  1090. LevelSpell(_Q)
  1091. end
  1092. end
  1093. end
  1094. function LevelUp()
  1095. if LevelConfig.L1 then
  1096. if GetLevel(myHero) == 1 then
  1097. LevelSpell(_E)
  1098. elseif GetLevel(myHero) == 2 then
  1099. LevelSpell(_Q)
  1100. elseif GetLevel(myHero) == 3 then
  1101. LevelSpell(_W)
  1102. elseif GetLevel(myHero) == 4 then
  1103. LevelSpell(_E)
  1104. elseif GetLevel(myHero) == 5 then
  1105. LevelSpell(_E)
  1106. elseif GetLevel(myHero) == 6 then
  1107. LevelSpell(_R)
  1108. elseif GetLevel(myHero) == 7 then
  1109. LevelSpell(_E)
  1110. elseif GetLevel(myHero) == 8 then
  1111. LevelSpell(_E)
  1112. elseif GetLevel(myHero) == 9 then
  1113. LevelSpell(_Q)
  1114. elseif GetLevel(myHero) == 10 then
  1115. LevelSpell(_Q)
  1116. elseif GetLevel(myHero) == 11 then
  1117. LevelSpell(_R)
  1118. elseif GetLevel(myHero) == 12 then
  1119. LevelSpell(_Q)
  1120. elseif GetLevel(myHero) == 13 then
  1121. LevelSpell(_W)
  1122. elseif GetLevel(myHero) == 14 then
  1123. LevelSpell(_W)
  1124. elseif GetLevel(myHero) == 15 then
  1125. LevelSpell(_W)
  1126. elseif GetLevel(myHero) == 16 then
  1127. LevelSpell(_R)
  1128. elseif GetLevel(myHero) == 17 then
  1129. LevelSpell(_W)
  1130. elseif GetLevel(myHero) == 18 then
  1131. LevelSpell(_W)
  1132. end
  1133. end
  1134. end
  1135. function kalE(x) if x <= 1 then return 10 else return kalE(x-1) + 2 + x end end -- Insipireds code.
  1136. function Drawings()
  1137. myHeroPos = GetOrigin(myHero)
  1138. DrawCircle(9022, 52.840878, 4360,80,1,1,0xffffffff)
  1139. DrawCircle(12060, 51, 4806,80,1,1,0xffffffff)
  1140. if CanUseSpell(myHero, _Q) == READY and DrawingsConfig.DrawQ then DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z,GetCastRange(myHero,_Q),3,100,0xffff00ff) end
  1141. if CanUseSpell(myHero, _E) == READY and DrawingsConfig.DrawE then DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z, GetCastRange(myHero,_E) ,3,100,0xffff00ff) end
  1142. end
  1143. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Kalista Loaded</font>"))
  1144. end
  1145. -- Vi
  1146. if GetObjectName(GetMyHero()) == "Vi" then
  1147. --Menu
  1148. Config = scriptConfig("Vi", "Vi")
  1149. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1150. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1151. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1152. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1153. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1154. --Start
  1155. OnLoop(function(myHero)
  1156. AutoIgnite()
  1157. if Config.Combo and waitTickCount < GetTickCount() then
  1158. local unit = GetCurrentTarget()
  1159. if ValidTarget(unit, 1550) then
  1160.  
  1161.  
  1162. local target = GetTarget(725, DAMAGE_PHYSICAL) -- Q from Deftsu
  1163. if CanUseSpell(myHero, _Q) == READY and ValidTarget(target, 725) and Config.Q then
  1164. local myHeroPos = GetMyHeroPos()
  1165. CastSkillShot(_Q, myHeroPos.x, myHeroPos.y, myHeroPos.z)
  1166. for i=250, 725, 250 do
  1167. DelayAction(function()
  1168. local _Qrange = 225 + math.min(225, i/2)
  1169. local Pred = GetPredictionForPlayer(GetMyHeroPos(),target,GetMoveSpeed(target),math.huge,600,_Qrange,100,true,true)
  1170. if Pred.HitChance >= 1 then
  1171. CastSkillShot2(_Q, Pred.PredPos.x, Pred.PredPos.y, Pred.PredPos.z)
  1172. end
  1173. end, i)
  1174. end
  1175. end
  1176. --Vi E
  1177.  
  1178. if Config.E then
  1179. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 175) then
  1180. CastSpell(_E)
  1181. end
  1182. end
  1183. -- Cast R
  1184. if Config.R then
  1185. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 800) then
  1186. CastTargetSpell(unit, _R)
  1187. end
  1188. end
  1189. end
  1190. end
  1191. end)
  1192. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Vi Loaded</font>"))
  1193. end
  1194. -- Yasuo
  1195. if GetObjectName(GetMyHero()) == "Yasuo" then
  1196. --Menu
  1197. Config = scriptConfig("Yasuo", "Yasuo")
  1198. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1199. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1200. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1201. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1202. Config.addParam("F", "E to Minion (Combo)", SCRIPT_PARAM_ONOFF, true)
  1203. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1204. --Start
  1205. OnLoop(function(myHero)
  1206. local unit = GetCurrentTarget()
  1207. AutoIgnite()
  1208. if Config.Combo then
  1209. if ValidTarget(unit, 1550) then
  1210. -- Gang Q
  1211.  
  1212. if Config.Q then
  1213. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero, _Q),50,false,true)
  1214. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 1200) and QPred.HitChance == 1 then
  1215. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1216. end
  1217. end
  1218. -- Yasuo E
  1219. if GetCastName(myHero, _E) == "YasuoDashWrapper" then
  1220. if Config.E then
  1221. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 475) then
  1222. CastTargetSpell(unit,_E)
  1223. end
  1224. end
  1225. end
  1226. -- Yasuo R
  1227. if Config.R then
  1228. local ult = (GetCastLevel(myHero,_R)*100)+(GetBonusDmg(myHero)*1.50)
  1229. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) and CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 1200) then
  1230. CastSpell(_R)
  1231. end
  1232. end
  1233. end
  1234. end
  1235. end)
  1236.  
  1237. OnLoop(function(myHero)
  1238. if Config.Combo then
  1239. if Config.F then
  1240. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  1241. local unit = GetCurrentTarget()
  1242. if unit == nil then return end
  1243. if IsInDistance(Q, 750) or IsInDistance(unit, 750) then
  1244. local targetPos = GetOrigin(Q)
  1245. local drawPos = WorldToScreen(1,targetPos.x,targetPos.y,targetPos.z)
  1246. local hp = GetCurrentHP(Q)
  1247. local Dmg = CalcDamage(myHero, Q, GetBonusDmg(myHero)+GetBaseDamage(myHero))
  1248. local unit = GetCurrentTarget()
  1249. if Dmg < hp or Dmg > hp then
  1250. elseif GotBuff(unit, "YasuoDashWrapper") > 1 then return end
  1251. if GetCastName(myHero, _E) == "YasuoDashWrapper" then
  1252. if CanUseSpell(myHero, _E) == READY then
  1253. CastTargetSpell(Q,_E)
  1254. end
  1255. end
  1256. end
  1257. end
  1258. end
  1259.  
  1260. end
  1261. end)
  1262. OnProcessSpell(function(unit, spell) -- All of this is from ispired
  1263. myHero = GetMyHero()
  1264. if Config.W and unit and GetTeam(unit) ~= GetTeam(myHero) and GetObjectType(unit) == GetObjectType(myHero) and GetDistance(unit) < 1500 then
  1265. if myHero == spell.target and spell.name:lower():find("attack") and GetRange(unit) >= 450 and CalcDamage(unit, myHero, GetBonusDmg(unit)+GetBaseDamage(unit))/GetCurrentHP(myHero) > 0.1337 then
  1266. local wPos = GenerateWallPos(GetOrigin(unit))
  1267. CastSkillShot(_W, wPos.x, wPos.y, wPos.z)
  1268. elseif spell.endPos then
  1269. local makeUpPos = GenerateSpellPos(GetOrigin(unit), spell.endPos, GetDistance(unit, myHero))
  1270. if GetDistanceSqr(makeUpPos) < (GetHitBox(myHero)*3)^2 or GetDistanceSqr(spell.endPos) < (GetHitBox(myHero)*3)^2 then
  1271. local wPos = GenerateWallPos(GetOrigin(unit))
  1272. CastSkillShot(_W, wPos.x, wPos.y, wPos.z)
  1273. end
  1274. end
  1275. end
  1276. end)
  1277. function GenerateWallPos(unitPos)
  1278. local tV = {x = (unitPos.x-GetMyHeroPos().x), z = (unitPos.z-GetMyHeroPos().z)}
  1279. local len = math.sqrt(tV.x * tV.x + tV.z * tV.z)
  1280. return {x = GetMyHeroPos().x + 400 * tV.x / len, y = 0, z = GetMyHeroPos().z + 400 * tV.z / len}
  1281. end
  1282.  
  1283. function GenerateSpellPos(unitPos, spellPos, range)
  1284. local tV = {x = (spellPos.x-unitPos.x), z = (spellPos.z-unitPos.z)}
  1285. local len = math.sqrt(tV.x * tV.x + tV.z * tV.z)
  1286. return {x = unitPos.x + range * tV.x / len, y = 0, z = unitPos.z + range * tV.z / len}
  1287. end -- Inspireds END
  1288. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Yasuo Loaded</font>"))
  1289. end
  1290. -- Sona
  1291. if GetObjectName(GetMyHero()) == "Sona" then
  1292. --Menu
  1293. Config = scriptConfig("Sona", "Sona")
  1294. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1295. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1296. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1297. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1298. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1299. --Start
  1300. OnLoop(function(myHero)
  1301. local unit = GetCurrentTarget()
  1302. if Config.W then
  1303. for _, ally in pairs(GetAllyHeroes()) do
  1304. if Config.W then
  1305. if (GetCurrentHP(ally)/GetMaxHP(ally))<0.6 and
  1306. CanUseSpell(myHero, _W) == READY and IsInDistance(ally, 1000) and IsObjectAlive(ally) then
  1307. CastSpell(_W)
  1308. end
  1309. end
  1310. end
  1311. end
  1312. if GetCastName(myHero, _W) == "SonaW" then
  1313. if Config.W then
  1314. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.5 and
  1315. CanUseSpell(myHero, _W) == READY and IsObjectAlive(myHero) then
  1316. CastSpell(_W)
  1317. end
  1318. end
  1319. end
  1320. AutoIgnite()
  1321. if Config.Combo then
  1322. if ValidTarget(unit, 1550) then
  1323. -- Sona Q
  1324. if Config.Q then
  1325. if GetCastName(myHero, _Q) == "SonaQ" then
  1326. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,260,50,false,true)
  1327. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 850) then
  1328. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1329. end
  1330. end
  1331. end
  1332. -- Sona R
  1333. if Config.R then
  1334. if GetCastName(myHero, _R) == "SonaR" then
  1335. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1000,50,false,true)
  1336. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.6 and
  1337. CanUseSpell(myHero, _R) == READY and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  1338. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  1339. end
  1340. end
  1341. end
  1342. end
  1343. end
  1344. end)
  1345. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Sona Loaded</font>"))
  1346. end
  1347. --Khazix
  1348. if GetObjectName(GetMyHero()) == "Khazix" then
  1349. --Menu
  1350. Config = scriptConfig("Khazix", "Khazix")
  1351. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1352. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1353. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1354. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1355. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1356. --Start
  1357. OnLoop(function(myHero)
  1358. AutoIgnite()
  1359. if Config.Combo then
  1360. local unit = GetCurrentTarget()
  1361. if ValidTarget(unit, 1700) then
  1362.  
  1363. -- Khazix E
  1364. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero,_E),50,false,true)
  1365. if Config.E then
  1366. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  1367. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1368. end
  1369. end
  1370. -- Khazix Q
  1371. if Config.Q then
  1372. if CanUseSpell(myHero, _Q) == READY and IsObjectAlive(unit) and IsInDistance(unit, 325) then
  1373. CastTargetSpell(unit,_Q)
  1374. end
  1375. end
  1376. -- Khazix Q
  1377. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,600,50,true,true)
  1378. if Config.Q then
  1379. if CanUseSpell(myHero, _W) == READY and IsInDistance(unit, 1000) and WPred.HitChance == 1 then
  1380. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1381. end
  1382. end
  1383. end
  1384. end
  1385. end)
  1386. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Khazix Loaded</font>"))
  1387. end
  1388. --Rumble
  1389. if GetObjectName(GetMyHero()) == "Rumble" then
  1390. --Menu
  1391. Config = scriptConfig("Rumble", "Rumble")
  1392. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1393. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1394. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1395. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1396. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1397. --Start
  1398. OnLoop(function(myHero)
  1399. AutoIgnite()
  1400. if Config.Combo then
  1401. local unit = GetCurrentTarget()
  1402. if ValidTarget(unit, 1700) then
  1403.  
  1404. -- Rumble Q
  1405. if GetCastName(myHero, _Q) == "RumbleFlameThrower" then
  1406. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,600,50,false,true)
  1407. if Config.Q then
  1408. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 600) and QPred.HitChance == 1 then
  1409. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1410. end
  1411. end
  1412. end
  1413. -- Rumble E
  1414. if GetCastName(myHero, _E) == "RumbleGrenade" then
  1415. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,850,50,true,true)
  1416. if Config.E then
  1417. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 850) and EPred.HitChance == 1 then
  1418. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1419. end
  1420. end
  1421. end
  1422. -- Rumble R
  1423. local myorigin = GetOrigin(unit)
  1424. local mymouse = GetCastRange(myHero,_R)
  1425. if Config.R then
  1426. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1700,55,false,true)
  1427. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1700) then
  1428. CastSkillShot3(_R,myorigin,EPred)
  1429. end
  1430. end
  1431. local myorigin = GetOrigin(unit)
  1432. local mymouse = GetCastRange(myHero,_R)
  1433. if Config.R then
  1434. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1700,55,false,true)
  1435. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1700) then
  1436. CastSkillShot3(_R,myorigin,EPred)
  1437. end
  1438. end
  1439. end
  1440. end
  1441. end)
  1442. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Rumble Loaded</font>"))
  1443. end
  1444. -- Alistar
  1445. if GetObjectName(GetMyHero()) == "Alistar" then
  1446. --Menu
  1447. Config = scriptConfig("Alistar", "Alistar")
  1448. Config.addParam("QW", "Use QW Combo", SCRIPT_PARAM_ONOFF, false)
  1449. Config.addParam("WQ", "Use WQ Combo", SCRIPT_PARAM_ONOFF, true)
  1450. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1451. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1452. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1453. --Start
  1454. OnLoop(function(myHero)
  1455. local unit = GetCurrentTarget()
  1456. if GetCastName(myHero, _R) == "FerociousHowl" then
  1457. if Config.R then
  1458. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.4 and
  1459. CanUseSpell(myHero, _R) == READY and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  1460. CastSpell(_R)
  1461. end
  1462. end
  1463. end
  1464. for _, ally in pairs(GetAllyHeroes()) do
  1465. if Config.E then
  1466. if (GetCurrentHP(ally)/GetMaxHP(ally))<0.7 and
  1467. CanUseSpell(myHero, _E) == READY and IsInDistance(ally, 575) and IsObjectAlive(ally) then
  1468. CastSpell(_E)
  1469. end
  1470. end
  1471. end
  1472. if GetCastName(myHero, _E) == "TriumphantRoar" then
  1473. if Config.E then
  1474. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.7 and
  1475. CanUseSpell(myHero, _E) == READY and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  1476. CastSpell(_E)
  1477. end
  1478. end
  1479. end
  1480. AutoIgnite()
  1481. if Config.Combo then
  1482. if ValidTarget(unit, 1550) then
  1483. -- Alistar W
  1484. if GetCastName(myHero, _W) == "Headbutt" then
  1485. if Config.WQ then
  1486. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 650) then
  1487. CastTargetSpell(unit, _W)
  1488. end
  1489. end
  1490. end
  1491. -- Alistar Q
  1492. if Config.WQ then
  1493. if GetCastName(myHero, _Q) == "Pulverize" then
  1494. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,260,50,false,true)
  1495. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 365) then
  1496. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1497. end
  1498. end
  1499. end
  1500. -- Alistar Q
  1501. if Config.QW then
  1502. if GetCastName(myHero, _Q) == "Pulverize" then
  1503. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,260,50,false,true)
  1504. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 365) then
  1505. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1506. end
  1507. end
  1508. end
  1509. -- Alistar W
  1510. if GetCastName(myHero, _W) == "Headbutt" then
  1511. if Config.QW then
  1512. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 300) then
  1513. CastTargetSpell(unit, _W)
  1514. end
  1515. end
  1516. end
  1517. end
  1518. end
  1519. end)
  1520. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Alistar Loaded</font>"))
  1521. end
  1522. -- Leona
  1523. if GetObjectName(GetMyHero()) == "Leona" then
  1524. --Menu
  1525. Config = scriptConfig("Leona", "Leona")
  1526. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1527. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1528. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1529. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1530. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1531. --Start
  1532. OnLoop(function(myHero)
  1533. AutoIgnite()
  1534. LeonaW()
  1535. local unit = GetCurrentTarget()
  1536. if Config.Combo then
  1537. if ValidTarget(unit, 1550) then
  1538.  
  1539. -- Leona Q
  1540. if Config.Q then
  1541. if GetCastName(myHero, _Q) == "LeonaShieldOfDaybreak" then
  1542. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 625) then
  1543. CastTargetSpell(unit,_Q)
  1544. end
  1545. end
  1546. end
  1547. --Leona E
  1548. if Config.E then
  1549. if GetCastName(myHero, _E) == "LeonaZenithBlade" then
  1550. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero,_E),50,false,true)
  1551. if CanUseSpell(myHero, _E) == READY and IsObjectAlive(unit) and IsInDistance(unit, 700) then
  1552. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1553. end
  1554. end
  1555. end
  1556. -- Leona R
  1557. if Config.R then
  1558. if GetCastName(myHero, _R) == "LeonaSolarFlare" then
  1559. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero,_R),50,false,true)
  1560. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.8 and
  1561. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 1100) then
  1562. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  1563. end
  1564. end
  1565. end
  1566. end
  1567. end
  1568. end)
  1569. function LeonaW()
  1570. if GetCastName(myHero, _W) == "LeonaSolarBarrier" then
  1571. if Config.W then
  1572. local unit = GetCurrentTarget()
  1573. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.75 and
  1574. CanUseSpell(myHero, _W) == READY and GotBuff(myHero, "recall") == 0 then
  1575. CastTargetSpell(myHero, _W)
  1576. end
  1577. end
  1578. end
  1579. end
  1580. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Leona Loaded</font>"))
  1581. end
  1582. -- Swain
  1583. if GetObjectName(GetMyHero()) == "Swain" then
  1584. --Menu
  1585. Config = scriptConfig("Swain", "Swain")
  1586. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1587. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1588. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1589. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1590. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1591. --Start
  1592. OnLoop(function(myHero)
  1593. local unit = GetCurrentTarget()
  1594. if GetCastName(myHero, _R) == "SwainMetamorphism" then
  1595. if Config.R then
  1596. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.3 and
  1597. CanUseSpell(myHero, _R) == READY and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  1598. CastTargetSpell(myHero,_R)
  1599. end
  1600. end
  1601. end
  1602. AutoIgnite()
  1603. if Config.Combo then
  1604. if ValidTarget(unit, 1550) then
  1605.  
  1606. -- Swain Q
  1607. if Config.Q then
  1608. if GetCastName(myHero, _Q) == "SwainDecrepify" then
  1609. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 625) then
  1610. CastTargetSpell(unit,_Q)
  1611. end
  1612. end
  1613. end
  1614. --Swain E
  1615. if Config.E then
  1616. if GetCastName(myHero, _E) == "SwainTorment" then
  1617. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 625) then
  1618. CastTargetSpell(unit,_E)
  1619. end
  1620. end
  1621. end
  1622. -- Swain W
  1623. if Config.W then
  1624. if GetCastName(myHero, _W) == "SwainShadowGrasp" then
  1625. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero,_W),50,false,true)
  1626. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 625) then
  1627. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1628. end
  1629. end
  1630. end
  1631. if Config.R then
  1632. if GetCastName(myHero, _R) == "SwainMetamorphism" then
  1633. local ult = (GetCastLevel(myHero,_R)*50+130)+(GetBonusAP(myHero)*.2)
  1634. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) and
  1635. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 700) then
  1636. CastTargetSpell(myHero, _R)
  1637. end
  1638. end
  1639. end
  1640. end
  1641. end
  1642. end)
  1643. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Swain Loaded</font>"))
  1644. end
  1645. -- Gnar
  1646. if GetObjectName(GetMyHero()) == "Gnar" then
  1647. --Menu
  1648. Config = scriptConfig("Gnar", "Gnar")
  1649. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1650. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1651. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1652. --Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1653. Config.addParam("Q2", "Use Q2", SCRIPT_PARAM_ONOFF, true)
  1654. Config.addParam("W2", "Use W2", SCRIPT_PARAM_ONOFF, true)
  1655. Config.addParam("E2", "Use E2", SCRIPT_PARAM_ONOFF, true)
  1656. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1657. --Start
  1658. OnLoop(function(myHero)
  1659. AutoIgnite()
  1660. if Config.Combo then
  1661. local mymouse = GetMousePos()
  1662. local unit = GetCurrentTarget()
  1663. if ValidTarget(unit, 1550) then
  1664.  
  1665. -- Gnar Q
  1666. if Config.Q then
  1667. if GetCastName(myHero, _Q) == "GnarQ" then
  1668. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1100,50,true,true)
  1669. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 1100) then
  1670. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1671. end
  1672. end
  1673. end
  1674. --Gnar E gnarbigqwe
  1675. if Config.E then
  1676. if GetCastName(myHero, _E) == "GnarE" then
  1677. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 1100) then
  1678. CastSkillShot(_E, GetMousePos().x, GetMousePos().y, GetMousePos().z)
  1679. end
  1680. end
  1681. end
  1682. -- Gnar W
  1683. if Config.W2 then
  1684. if GetCastName(myHero, _W) == "gnarbigw" then
  1685. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero,_W),50,false,true)
  1686. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and ValidTarget(unit, GetCastRange(myHero,_W)) then
  1687. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1688. end
  1689. end
  1690. end
  1691. if Config.Q2 then
  1692. if GetCastName(myHero, _Q) == "gnarbigq" then
  1693. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1100,50,true,true)
  1694. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 1100) then
  1695. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1696. end
  1697. end
  1698. end
  1699. if Config.E2 then
  1700. if GetCastName(myHero, _E) == "gnarbige" then
  1701. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,475,50,false,true)
  1702. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 1100) then
  1703. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1704. end
  1705. end
  1706. end
  1707.  
  1708. end
  1709. end
  1710. end)
  1711. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Gnar Loaded</font>"))
  1712. end
  1713. -- Udyr
  1714. class "Udyr"
  1715. function Udyr:__init()
  1716. OnLoop(function(myHero) self:Loop(myHero) end)
  1717. --Menu
  1718. self.Config = scriptConfig("Udyr", "Udyr")
  1719. self.Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1720. self.Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1721. self.Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1722. self.Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1723. self.Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1724. end
  1725. --Start
  1726. function Udyr:Loop(myHero)
  1727. self:Checks()
  1728. if _G.IWalkConfig.Combo then
  1729. self:Combo()
  1730. end
  1731. end
  1732. function Udyr:Checks()
  1733. self.QREADY = CanUseSpell(myHero,_Q) == READY
  1734. self.WREADY = CanUseSpell(myHero,_W) == READY
  1735. self.EREADY = CanUseSpell(myHero,_E) == READY
  1736. self.RREADY = CanUseSpell(myHero,_R) == READY
  1737. self.target = GetTarget(1500, DAMAGE_MAGIC)
  1738. self.targetPos = GetOrigin(self.target)
  1739. self.mymouse = GetMousePos()
  1740. end
  1741.  
  1742. --Udyr E
  1743. function Udyr:CastE(unit)
  1744. if GetCastName(myHero, _E) == "UdyrBearStance" then
  1745. if self.Config.E then
  1746. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 125) then
  1747. CastTargetSpell(myHero,_E)
  1748. end
  1749. end
  1750. end
  1751. end
  1752. -- Udyr Q
  1753. function Udyr:CastQ(unit)
  1754. if self.Config.Q then
  1755. if GetCastName(myHero, _Q) == "UdyrTigerStance" then
  1756. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 125) then
  1757. CastTargetSpell(myHero,_Q)
  1758. end
  1759. end
  1760. end
  1761. end
  1762. -- Udyr W
  1763. function Udyr:CastW(unit)
  1764. if GetCastName(myHero, _W) == "UdyrTurtleStance" then
  1765. if Config.W then
  1766. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,false,true)
  1767. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 125) then
  1768. CastTargetSpell(myHero,_W)
  1769. end
  1770. end
  1771. end
  1772. end
  1773. -- Cast R
  1774. function Udyr:CastR(unit)
  1775. if GetCastName(myHero, _R) == "UdyrPhoenixStance" then
  1776. if Config.R then
  1777. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 250) then
  1778. CastTargetSpell(myHero, _R)
  1779. end
  1780. end
  1781. end
  1782. end
  1783. function Udyr:Combo()
  1784. if ValidTarget(self.target, 1700) then
  1785. if self.WREADY then
  1786. self:CastW(self.target)
  1787. elseif self.QREADY then
  1788. self:CastQ(self.target)
  1789. elseif self.EREADY then
  1790. self:CastE(self.target)
  1791. elseif self.RREADY then
  1792. self:CastR(self.target)
  1793. end
  1794. end
  1795.  
  1796. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Udyr Loaded</font>"))
  1797. end
  1798. -- Brand
  1799. class "Brand"
  1800. function Brand:__init()
  1801. OnLoop(function(myHero) self:Loop(myHero) end)
  1802. --Menu
  1803. self.Config = scriptConfig("Brand", "Brand")
  1804. self.Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1805. self.Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1806. self.Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1807. self.Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1808. self.Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1809. end
  1810. --Start
  1811. function Brand:Loop(myHero)
  1812. self:Checks()
  1813. if _G.IWalkConfig.Combo then
  1814. self:Combo()
  1815. end
  1816. end
  1817. function Brand:Checks()
  1818. self.QREADY = CanUseSpell(myHero,_Q) == READY
  1819. self.WREADY = CanUseSpell(myHero,_W) == READY
  1820. self.EREADY = CanUseSpell(myHero,_E) == READY
  1821. self.RREADY = CanUseSpell(myHero,_R) == READY
  1822. self.target = GetTarget(1500, DAMAGE_MAGIC)
  1823. self.targetPos = GetOrigin(self.target)
  1824. self.mymouse = GetMousePos()
  1825. end
  1826.  
  1827. --Brand E
  1828. function Brand:CastE(unit)
  1829. if GetCastName(myHero, _E) == "BrandConflagration" then
  1830. if self.Config.E then
  1831. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 625) then
  1832. CastTargetSpell(unit,_E)
  1833. end
  1834. end
  1835. end
  1836. end
  1837. -- Brand Q
  1838. function Brand:CastQ(unit)
  1839. if self.Config.Q then
  1840. if GetCastName(myHero, _Q) == "BrandBlaze" then
  1841. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1050,50,true,true)
  1842. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 1050) and GotBuff(unit, "brandablaze") == 1 then
  1843. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1844. end
  1845. end
  1846. end
  1847. end
  1848. -- Brand W
  1849. function Brand:CastW(unit)
  1850. if GetCastName(myHero, _W) == "BrandFissure" then
  1851. if Config.W then
  1852. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,false,true)
  1853. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 900) then
  1854. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1855. end
  1856. end
  1857. end
  1858. end
  1859. -- Cast R
  1860. function Brand:CastR(unit)
  1861. if GetCastName(myHero, _R) == "BrandWildfire" then
  1862. if Config.R then
  1863. local ult = (GetCastLevel(myHero,_R)*100)+(GetBonusAP(myHero)*.50)
  1864. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) and
  1865. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 750) then
  1866. CastTargetSpell(unit, _R)
  1867. end
  1868. end
  1869. end
  1870. end
  1871. function Brand:Combo()
  1872. if ValidTarget(self.target, 1700) then
  1873. if self.EREADY then
  1874. self:CastE(self.target)
  1875. elseif self.QREADY then
  1876. self:CastQ(self.target)
  1877. elseif self.WREADY then
  1878. self:CastW(self.target)
  1879. elseif self.RREADY then
  1880. self:CastR(self.target)
  1881. end
  1882. end
  1883. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Brand Loaded</font>"))
  1884. end
  1885. -- Fiora
  1886. class "Fiora"
  1887. function Fiora:__init()
  1888. OnLoop(function(myHero) self:Loop(myHero) end)
  1889. --Menu
  1890. self.Config = scriptConfig("Fiora", "Fiora")
  1891. self.Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1892. self.Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1893. self.Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1894. self.Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1895. self.Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1896. end
  1897.  
  1898. --Start
  1899. function Fiora:Loop(myHero)
  1900. self:Checks()
  1901. if _G.IWalkConfig.Combo then
  1902. self:Combo()
  1903. end
  1904. end
  1905. function Fiora:Checks()
  1906. self.QREADY = CanUseSpell(myHero,_Q) == READY
  1907. self.WREADY = CanUseSpell(myHero,_W) == READY
  1908. self.EREADY = CanUseSpell(myHero,_E) == READY
  1909. self.RREADY = CanUseSpell(myHero,_R) == READY
  1910. self.target = GetTarget(1500, DAMAGE_PHYSICAL)
  1911. self.targetPos = GetOrigin(self.target)
  1912. self.mymouse = GetMousePos()
  1913. end
  1914. -- Fiora Q
  1915. function Fiora:CastQ(unit)
  1916. if self.Config.Q then
  1917. if GetCastName(myHero, _Q) == "FioraQ" then
  1918. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,400,50,false,true)
  1919. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 400) then
  1920. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1921. end
  1922. end
  1923. end
  1924. end
  1925. -- Fiora W
  1926. function Fiora:CastW(unit)
  1927. if GetCastName(myHero, _W) == "FioraW" then
  1928. if self.Config.W then
  1929. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,750,50,false,true)
  1930. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 750) then
  1931. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1932. end
  1933. end
  1934. end
  1935. end
  1936. --Fiora E
  1937. function Fiora:CastE(unit)
  1938. if GetCastName(myHero, _E) == "FioraE" then
  1939. if self.Config.E then
  1940. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 260) then
  1941. CastTargetSpell(myHero,_E)
  1942. end
  1943. end
  1944. end
  1945. end
  1946. -- Cast R
  1947. function Fiora:CastR(unit)
  1948. if GetCastName(myHero, _R) == "FioraR" then
  1949. if self.Config.R then
  1950. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.4 and
  1951. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 500) then
  1952. CastTargetSpell(unit, _R)
  1953. end
  1954. end
  1955. end
  1956. end
  1957. function Fiora:Combo()
  1958. if ValidTarget(self.target, 1700) then
  1959. if self.WREADY then
  1960. self:CastW(self.target)
  1961. elseif self.QREADY then
  1962. self:CastQ(self.target)
  1963. elseif self.EREADY then
  1964. self:CastE(self.target)
  1965. elseif self.RREADY then
  1966. self:CastR(self.target)
  1967. end
  1968. end
  1969. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Fiora Loaded</font>"))
  1970. end
  1971.  
  1972. -- Riven
  1973. class "Riven"
  1974. function Riven:__init()
  1975. OnLoop(function(myHero) self:Loop(myHero) end)
  1976. --Menu
  1977. self.Config = scriptConfig("Riven", "Riven")
  1978. self.Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1979. self.Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1980. self.Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1981. self.Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1982. self.Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1983. end
  1984. --Start
  1985. function Riven:Loop(myHero)
  1986. self:Checks()
  1987. if _G.IWalkConfig.Combo then
  1988. self:Combo()
  1989. end
  1990. end
  1991. function Riven:Checks()
  1992. self.QREADY = CanUseSpell(myHero,_Q) == READY
  1993. self.WREADY = CanUseSpell(myHero,_W) == READY
  1994. self.EREADY = CanUseSpell(myHero,_E) == READY
  1995. self.RREADY = CanUseSpell(myHero,_R) == READY
  1996. self.target = GetTarget(1500, DAMAGE_PHYSICAL)
  1997. self.targetPos = GetOrigin(self.target)
  1998. self.mymouse = GetMousePos()
  1999. end
  2000. function Riven:CastE(unit)
  2001. --Riven E
  2002. if GetCastName(myHero, _E) == "RivenFeint" then
  2003. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,325,50,true,true)
  2004. if self.Config.E then
  2005. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  2006. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  2007. end
  2008. end
  2009. end
  2010. end
  2011. -- Riven Q
  2012. function Riven:CastQ(unit)
  2013. if self.Config.Q then
  2014. if GetCastName(myHero, _Q) == "RivenTriCleave" then
  2015. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,260,50,false,true)
  2016. DelayAction(function() AttackUnit(unit) end, 1800)
  2017. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 260) then
  2018. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  2019. end
  2020. end
  2021. end
  2022. end
  2023. -- Riven W
  2024. function Riven:CastW(unit)
  2025. if GetCastName(myHero, _W) == "RivenMartyr" then
  2026. if self.Config.W then
  2027. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,125,50,false,true)
  2028. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 125) then
  2029. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  2030. end
  2031. end
  2032. end
  2033. end
  2034. -- Cast R
  2035. function Riven:CastR(unit)
  2036. if GetCastName(myHero, _R) == "RivenFengShuiEngine" then
  2037. if self.Config.R then
  2038. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.3 and
  2039. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 900) then
  2040. CastTargetSpell(myHero, _R)
  2041. end
  2042. end
  2043. end
  2044. --Cast R windslash
  2045. if GetCastName(myHero, _R) == "rivenizunablade" then
  2046. if self.Config.R then
  2047. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,false,true)
  2048. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.4 and
  2049. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 900) then
  2050. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  2051. end
  2052. end
  2053. end
  2054. end
  2055. function Riven:Combo()
  2056. if ValidTarget(self.target, 1700) then
  2057. if self.QREADY then
  2058. self:CastQ(self.target)
  2059. elseif self.EREADY then
  2060. self:CastE(self.target)
  2061. elseif self.WREADY then
  2062. self:CastW(self.target)
  2063. elseif self.RREADY then
  2064. self:CastR(self.target)
  2065. end
  2066. end
  2067. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Riven Loaded</font>"))
  2068. end
  2069.  
  2070. -- Gangplank
  2071. class "Gangplank"
  2072. function Gangplank:__init()
  2073. OnLoop(function(myHero) self:Loop(myHero) end)
  2074. --Menu
  2075. self.Config = scriptConfig("Gangplank", "Gangplank")
  2076. self.Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  2077. self.Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  2078. self.Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  2079. self.Config.addParam("Es", "Use R ks", SCRIPT_PARAM_ONOFF, false)
  2080. self.Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  2081. self.Config.addParam("F", "LastHit", SCRIPT_PARAM_ONOFF, true)
  2082. self.Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  2083. end
  2084. --Start
  2085. function Gangplank:Loop(myHero)
  2086. self:Checks()
  2087. if _G.IWalkConfig.Combo then
  2088. self:Combo()
  2089. end
  2090. if self.Config.F then
  2091. self:QFarm()
  2092. end
  2093. if self.Config.Es then
  2094. self:KS()
  2095. end
  2096. end
  2097. function Gangplank:Checks()
  2098. self.QREADY = CanUseSpell(myHero,_Q) == READY
  2099. self.WREADY = CanUseSpell(myHero,_W) == READY
  2100. self.EREADY = CanUseSpell(myHero,_E) == READY
  2101. self.RREADY = CanUseSpell(myHero,_R) == READY
  2102. self.target = GetTarget(1500, DAMAGE_PHYSICAL)
  2103. self.targetPos = GetOrigin(self.target)
  2104. self.mymouse = GetMousePos()
  2105. end
  2106. --Auto heal if under or 30% HP AND ENEMY IS IN 1000 RANGE.
  2107. function Gangplank:CastW(unit)
  2108. if GetCastName(myHero, _W) == "GangplankW" then
  2109. if self.Config.W then
  2110. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.3 and
  2111. CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 1000) then
  2112. CastTargetSpell(myHero, _W)
  2113. end
  2114. end
  2115. end
  2116. end
  2117. -- Auto R (ks)
  2118. function Gangplank:KS(unit)
  2119. if GetCastName(myHero, _R) == "GangplankR" then
  2120. if self.Config.Es then
  2121. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,10000,50,false,true)
  2122. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.2 and
  2123. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 10000) then
  2124. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  2125. end
  2126. end
  2127. end
  2128. end
  2129. -- Gang Q
  2130. function Gangplank:CastQ(unit)
  2131. if self.Config.Q then
  2132. if GetCastName(myHero, _Q) == "GangplankQWrapper" then
  2133. if CanUseSpell(myHero, _Q) == READY then
  2134. CastTargetSpell(unit ,_Q)
  2135. end
  2136. end
  2137. end
  2138. end
  2139. -- Gangplank E
  2140. function Gangplank:CastE(unit)
  2141. if GetCastName(myHero, _E) == "GangplankE" then
  2142. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1000,50,false,true)
  2143. if self.Config.E then
  2144. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  2145. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  2146. end
  2147. end
  2148. end
  2149. end
  2150. -- Gangplank R
  2151. function Gangplank:CastR(unit)
  2152. if GetCastName(myHero, _R) == "GangplankR" then
  2153. if self.Config.R then
  2154. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,10000,50,false,true)
  2155. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.2 and
  2156. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 10000) then
  2157. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  2158. end
  2159. end
  2160. end
  2161. end
  2162.  
  2163. function Gangplank:QFarm()
  2164. if IWalkConfig.LastHit then
  2165. if Config.F then
  2166. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  2167. if IsInDistance(Q, 750) then
  2168. local z = (GetCastLevel(myHero,_Q)*25)+(GetBonusDmg(myHero)*1.7)
  2169. local hp = GetCurrentHP(Q)
  2170. local Dmg = CalcDamage(myHero, Q, z)
  2171. if Dmg > hp then
  2172. if CanUseSpell(myHero, _Q) == READY then
  2173. CastTargetSpell(Q,_Q)
  2174. end
  2175. end
  2176. end
  2177. end
  2178. end
  2179. end
  2180. end
  2181. function Gangplank:Combo()
  2182. if ValidTarget(self.target, 1700) then
  2183. if self.QREADY then
  2184. self:CastQ(self.target)
  2185. elseif self.EREADY then
  2186. self:CastE(self.target)
  2187. elseif self.WREADY then
  2188. self:CastW(self.target)
  2189. elseif self.RREADY then
  2190. self:CastR(self.target)
  2191. end
  2192. end
  2193. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Gangplank Loaded</font>"))
  2194. end
  2195.  
  2196. -- Irelia
  2197. class "Irelia"
  2198. function Irelia:__init()
  2199. OnLoop(function(myHero) self:Loop(myHero) end)
  2200. --Menu
  2201. self.Config = scriptConfig("Irelia", "Irelia")
  2202. self.Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  2203. self.Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  2204. self.Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  2205. self.Config.addParam("Es", "Use E Stun", SCRIPT_PARAM_ONOFF, false)
  2206. self.Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  2207. self.Config.addParam("F", "LastHit", SCRIPT_PARAM_ONOFF, true)
  2208. self.Config.addParam("G", "KS Q", SCRIPT_PARAM_ONOFF, true)
  2209. self.Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  2210. end
  2211. --Start
  2212. function Irelia:Loop(myHero)
  2213. self:Checks()
  2214. if _G.IWalkConfig.Combo then
  2215. self:Combo()
  2216. end
  2217. if self.Config.F then
  2218. self:QFarm()
  2219. end
  2220. if self.Config.G then
  2221. self:KS()
  2222. end
  2223. if self.Config.Es then
  2224. self:Es()
  2225. end
  2226. end
  2227. function Irelia:Checks()
  2228. self.QREADY = CanUseSpell(myHero,_Q) == READY
  2229. self.WREADY = CanUseSpell(myHero,_W) == READY
  2230. self.EREADY = CanUseSpell(myHero,_E) == READY
  2231. self.RREADY = CanUseSpell(myHero,_R) == READY
  2232. self.target = GetTarget(1500, DAMAGE_PHYSICAL)
  2233. self.targetPos = GetOrigin(self.target)
  2234. self.mymouse = GetMousePos()
  2235. end
  2236.  
  2237. -- Irelia Q
  2238. function Irelia:CastQ(unit)
  2239. if self.Config.Q then
  2240. if GetCastName(myHero, _Q) == "IreliaGatotsu" then
  2241. if CanUseSpell(myHero, _Q) == READY then
  2242. CastTargetSpell(unit,_Q)
  2243. end
  2244. end
  2245. end
  2246. end
  2247. -- Irelia E
  2248. function Irelia:CastE(unit)
  2249. if self.Config.E then
  2250. if GetCastName(myHero, _E) == "IreliaEquilibriumStrike" then
  2251. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 325) then
  2252. CastTargetSpell(unit,_E)
  2253. end
  2254. end
  2255. end
  2256. end
  2257. -- Irelia E
  2258. function Irelia:ES(unit)
  2259. if self.Config.Es then
  2260. if GetCastName(myHero, _E) == "IreliaEquilibriumStrike" then
  2261. if (GetCurrentHP(myHero) < GetCurrentHP(unit)) and CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 325) then
  2262. CastTargetSpell(unit,_E)
  2263. end
  2264. end
  2265. end
  2266. end
  2267. function Irelia:CastW(unit)
  2268. if self.Config.W then
  2269. if GetCastName(myHero, _W) == "IreliaHitenStyle" then
  2270. if CanUseSpell(myHero, _W) == READY and IsInDistance(unit, 325) then
  2271. CastTargetSpell(unit,_W)
  2272. end
  2273. end
  2274. end
  2275. end
  2276. -- Irelia R
  2277. function Irelia:CastR(unit)
  2278. if Config.R then
  2279. if GetCastName(myHero, _R) == "IreliaTranscendentBlades" then
  2280. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1000,55,false,true)
  2281. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.3 and IsObjectAlive(unit) and CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1000) then
  2282. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  2283. end
  2284. end
  2285. end
  2286. end
  2287.  
  2288. function Irelia:QFarm()
  2289. if IWalkConfig.LastHit then
  2290. if Config.F then
  2291. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  2292. if IsInDistance(Q, 750) then
  2293. local z = (GetCastLevel(myHero,_Q)*30)+(GetBonusDmg(myHero)*1.9)
  2294. local hp = GetCurrentHP(Q)
  2295. local Dmg = CalcDamage(myHero, Q, z)
  2296. if Dmg > hp then
  2297. if CanUseSpell(myHero, _Q) == READY then
  2298. CastTargetSpell(Q,_Q)
  2299. end
  2300. end
  2301. end
  2302. end
  2303. end
  2304. end
  2305. end
  2306. function Irelia:KS()
  2307. local unit = GetCurrentTarget()
  2308. if ValidTarget(unit, 1550) then
  2309. for i,enemy in pairs(GetEnemyHeroes()) do
  2310. local z = ((GetCastLevel(myHero,_Q)*30)+(GetBonusDmg(myHero)*1.9))
  2311. if CanUseSpell(myHero, _Q) == READY and ValidTarget(enemy,GetCastRange(myHero,_Q)) and Config.I
  2312. and (GetCastLevel(myHero,_Q)*30)+(GetBonusDmg(myHero)*1.9) and CalcDamage(myHero, enemy, z) > GetCurrentHP(unit) then
  2313. CastTargetSpell(enemy, _Q)
  2314. end
  2315. end
  2316. end
  2317. end
  2318. function Irelia:Combo()
  2319. if ValidTarget(self.target, 1700) then
  2320. if self.QREADY then
  2321. self:CastQ(self.target)
  2322. elseif self.EREADY then
  2323. self:CastE(self.target)
  2324. elseif self.WREADY then
  2325. self:CastW(self.target)
  2326. elseif self.RREADY then
  2327. self:CastR(self.target)
  2328. end
  2329. end
  2330. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Irelia Loaded</font>"))
  2331. end
  2332.  
  2333. --Evelynn
  2334. class "Evelynn"
  2335. function Evelynn:__init()
  2336. OnLoop(function(myHero) self:Loop(myHero) end)
  2337. --Menu
  2338. self.Config = scriptConfig("Evelynn", "Evelynn")
  2339. self.Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  2340. self.Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  2341. self.Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  2342. self.Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  2343. self.Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  2344. end
  2345. --Start
  2346. function Evelynn:Loop(myHero)
  2347. self:Checks()
  2348. if _G.IWalkConfig.Combo then
  2349. self:Combo()
  2350. end
  2351. end
  2352. function Evelynn:Checks()
  2353. self.QREADY = CanUseSpell(myHero,_Q) == READY
  2354. self.WREADY = CanUseSpell(myHero,_W) == READY
  2355. self.EREADY = CanUseSpell(myHero,_E) == READY
  2356. self.RREADY = CanUseSpell(myHero,_R) == READY
  2357. self.target = GetTarget(1500, DAMAGE_MAGIC)
  2358. self.targetPos = GetOrigin(self.target)
  2359. self.mymouse = GetMousePos()
  2360. end
  2361.  
  2362. -- Evelynn W
  2363. function Evelynn:CastW(unit)
  2364. if self.Config.W then
  2365. if GetCastName(myHero, _W) == "EvelynnW" then
  2366. if CanUseSpell(myHero, _W) == READY then
  2367. CastTargetSpell(myHero,_W)
  2368. end
  2369. end
  2370. end
  2371. end
  2372. -- Evelynn Q
  2373. function Evelynn:CastQ(unit)
  2374. if self.Config.Q then
  2375. if GetCastName(myHero, _Q) == "EvelynnQ" then
  2376. if CanUseSpell(myHero, _Q) == READY then
  2377. CastTargetSpell(myHero,_Q)
  2378. end
  2379. end
  2380. end
  2381. end
  2382. -- Evelynn E
  2383. function Evelynn:CastE(unit)
  2384. if self.Config.E then
  2385. if GetCastName(myHero, _E) == "EvelynnE" then
  2386. if CanUseSpell(myHero, _E) == READY then
  2387. CastTargetSpell(unit,_E)
  2388. end
  2389. end
  2390. end
  2391. end
  2392. -- Evelynn R
  2393. function Evelynn:CastR(unit)
  2394. if self.Config.R then
  2395. if GetCastName(myHero, _R) == "EvelynnR" then
  2396. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,650,55,false,true)
  2397. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  2398. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  2399. end
  2400. end
  2401. end
  2402. end
  2403. function Evelynn:Combo()
  2404. if ValidTarget(self.target, 1700) then
  2405. if self.QREADY then
  2406. self:CastQ(self.target)
  2407. elseif self.EREADY then
  2408. self:CastE(self.target)
  2409. elseif self.WREADY then
  2410. self:CastW(self.target)
  2411. elseif self.RREADY then
  2412. self:CastR(self.target)
  2413. end
  2414. end
  2415. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Evelynn Loaded</font>"))
  2416. end
  2417.  
  2418. --Akali
  2419. class "Akali"
  2420. function Akali:__init()
  2421. OnLoop(function(myHero) self:Loop(myHero) end)
  2422. --Menu
  2423. self.Config = scriptConfig("Akali", "Akali")
  2424. self.Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  2425. self.Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  2426. self.Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  2427. self.Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  2428. self.Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  2429. end
  2430. function Akali:Loop(myHero)
  2431. self:Checks()
  2432. if _G.IWalkConfig.Combo then
  2433. self:Combo()
  2434. end
  2435. end
  2436. function Akali:Checks()
  2437. self.QREADY = CanUseSpell(myHero,_Q) == READY
  2438. self.WREADY = CanUseSpell(myHero,_W) == READY
  2439. self.EREADY = CanUseSpell(myHero,_E) == READY
  2440. self.RREADY = CanUseSpell(myHero,_R) == READY
  2441. self.target = GetTarget(1700, DAMAGE_MAGIC)
  2442. self.targetPos = GetOrigin(self.target)
  2443. self.mymouse = GetMousePos()
  2444. end
  2445. --Start
  2446. function Akali:CastQ(unit)
  2447. if self.Config.Q then
  2448. if GetCastName(myHero, _Q) == "AkaliMota" then
  2449. if CanUseSpell(myHero, _Q) == READY then
  2450. CastTargetSpell(unit,_Q)
  2451. end
  2452. end
  2453. end
  2454. end
  2455. function Akali:CastE(unit)
  2456. -- Akali E
  2457. if self.Config.E then
  2458. if GetCastName(myHero, _E) == "AkaliShadowSwipe" then
  2459. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,325,55,false,true)
  2460. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 325) then
  2461. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  2462. end
  2463. end
  2464. end
  2465. end
  2466. -- Akali W
  2467. function Akali:CastW(unit)
  2468. if self.Config.W then
  2469. if GetCastName(myHero, _W) == "AkaliSmokeBomb" then
  2470. if CanUseSpell(myHero, _W) == READY then
  2471. CastTargetSpell(unit,_W)
  2472. end
  2473. end
  2474. end
  2475. end
  2476. -- Akali R
  2477. function Akali:CastR(unit)
  2478. if self.Config.R then
  2479. if GetCastName(myHero, _R) == "AkaliShadowDance" then
  2480. if CanUseSpell(myHero, _R) == READY then
  2481. CastTargetSpell(unit,_R)
  2482. end
  2483. end
  2484. end
  2485. end
  2486. function Akali:Combo()
  2487. if ValidTarget(self.target, 1700) then
  2488. if self.QREADY then
  2489. self:CastQ(self.target)
  2490. elseif self.EREADY then
  2491. self:CastE(self.target)
  2492. elseif self.WREADY then
  2493. self:CastW(self.target)
  2494. elseif self.RREADY then
  2495. self:CastR(self.target)
  2496. end
  2497. end
  2498. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Akali Loaded</font>"))
  2499. end
  2500.  
  2501. --Menu
  2502. class "Azir"
  2503. function Azir:__init()
  2504. OnLoop(function(myHero) self:Loop(myHero) end)
  2505. --Azir
  2506. self.Config = scriptConfig("Azir", "Azir")
  2507. self.Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  2508. self.Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  2509. self.Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  2510. self.Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  2511. self.Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  2512. end
  2513. --Start
  2514. function Azir:Loop(myHero)
  2515. self:Checks()
  2516. if _G.IWalkConfig.Combo then
  2517. self:Combo()
  2518. end
  2519. end
  2520. function Azir:Checks()
  2521. self.QREADY = CanUseSpell(myHero,_Q) == READY
  2522. self.WREADY = CanUseSpell(myHero,_W) == READY
  2523. self.EREADY = CanUseSpell(myHero,_E) == READY
  2524. self.RREADY = CanUseSpell(myHero,_R) == READY
  2525. self.target = GetTarget(1700, DAMAGE_MAGIC)
  2526. self.targetPos = GetOrigin(self.target)
  2527. self.mymouse = GetMousePos()
  2528. end
  2529.  
  2530. -- Azir W
  2531. function Azir:CastW(unit)
  2532. if self.Config.W then
  2533. if GetCastName(myHero, _W) == "AzirW" then
  2534. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,850,55,false,true)
  2535. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  2536. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  2537. end
  2538. end
  2539. end
  2540. end
  2541. -- Azir Q
  2542. function Azir:CastQ(unit)
  2543. if self.Config.Q then
  2544. if GetCastName(myHero, _Q) == "AzirQ" then
  2545. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  2546. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  2547. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  2548. end
  2549. end
  2550. end
  2551. end
  2552. -- Azir E
  2553. function Azir:CastE(unit)
  2554. if self.Config.E then
  2555. if GetCastName(myHero, _E) == "AzirE" then
  2556. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,850,50,false,true)
  2557. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  2558. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  2559. end
  2560. end
  2561. end
  2562. end
  2563. -- Azir R
  2564. function Azir:CastR(unit)
  2565. if self.Config.R then
  2566. if GetCastName(myHero, _R) == "AzirR" then
  2567. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,250,55,false,true)
  2568. local ult = (GetCastLevel(myHero,_R)*75)+(GetBonusAP(myHero)*.6)
  2569. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) or (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.27 and CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 250) then
  2570. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  2571. end
  2572. end
  2573. end
  2574. end
  2575. function Azir:Combo()
  2576. if ValidTarget(self.target, 1700) then
  2577. if self.WREADY then
  2578. self:CastW(self.target)
  2579. elseif self.QREADY then
  2580. self:CastQ(self.target)
  2581. elseif self.EREADY then
  2582. self:CastE(self.target)
  2583. elseif self.RREADY then
  2584. self:CastR(self.target)
  2585. end
  2586. end
  2587. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Azir Loaded</font>"))
  2588. end
  2589.  
  2590. --Viktor
  2591. class "Viktor"
  2592. function Viktor:__init()
  2593. OnLoop(function(myHero) self:Loop(myHero) end)
  2594. --Menu
  2595. self.Config = scriptConfig("Viktor", "Viktor")
  2596. self.Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  2597. self.Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  2598. self.Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  2599. self.Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  2600. self.Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  2601. end
  2602. --Start
  2603. function Viktor:Loop(myHero)
  2604. self:Checks()
  2605. if _G.IWalkConfig.Combo then
  2606. self:Combo()
  2607. end
  2608. end
  2609. function Viktor:Checks()
  2610. self.QREADY = CanUseSpell(myHero,_Q) == READY
  2611. self.WREADY = CanUseSpell(myHero,_W) == READY
  2612. self.EREADY = CanUseSpell(myHero,_E) == READY
  2613. self.RREADY = CanUseSpell(myHero,_R) == READY
  2614. self.target = GetTarget(1700, DAMAGE_MAGIC)
  2615. self.targetPos = GetOrigin(self.target)
  2616. self.mymouse = GetMousePos()
  2617. end
  2618.  
  2619. -- Viktor W
  2620. function Viktor:CastW(unit)
  2621. if self.Config.W then
  2622. if GetCastName(myHero, _W) == "ViktorGravitonField" then
  2623. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,700,55,false,true)
  2624. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  2625. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  2626. end
  2627. end
  2628. end
  2629. end
  2630. -- Viktor Q
  2631. function Viktor:CastQ(unit)
  2632. if self.Config.Q then
  2633. if GetCastName(myHero, _Q) == "ViktorPowerTransfer" then
  2634. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 600) then
  2635. CastTargetSpell(unit,_Q)
  2636. end
  2637. end
  2638. end
  2639. end
  2640. -- Viktor E
  2641. function Viktor:CastE(unit)
  2642. local myorigin = GetOrigin(unit)
  2643. local mymouse = GetCastRange(myHero,_E)
  2644. if self.Config.E then
  2645. if GetCastName(myHero, _E) == "ViktorDeathRay" then
  2646. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  2647. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 1500) then
  2648. CastSkillShot3(_E,myorigin,myorigin)
  2649. end
  2650. end
  2651. end
  2652. end
  2653. -- Viktor R
  2654. function Viktor:CastR(unit)
  2655. if self.Config.R then
  2656. if GetCastName(myHero, _R) == "ViktorChaosStorm" then
  2657. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,700,55,false,true)
  2658. local ult = (GetCastLevel(myHero,_R)*200+25)+(GetBonusDmg(myHero)*1.6)
  2659. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  2660. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  2661. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  2662. end
  2663. end
  2664. end
  2665. end
  2666. end
  2667. function Viktor:Combo()
  2668. if ValidTarget(self.target, 1000) then
  2669. if self.EREADY then
  2670. self:CastE(self.target)
  2671. elseif self.WREADY then
  2672. self:CastW(self.target)
  2673. elseif self.QREADY then
  2674. self:CastQ(self.target)
  2675. elseif self.RREADY then
  2676. self:CastR(self.target)
  2677. end
  2678. end
  2679. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Viktor Loaded</font>"))
  2680. end
  2681. -- VelKoz
  2682. class "Velkoz"
  2683. function Velkoz:__init()
  2684. OnLoop(function(myHero) self:Loop(myHero) end)
  2685. --Menu
  2686. self.Config = scriptConfig("VelKoz", "VelKoz")
  2687. self.Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  2688. self.Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  2689. self.Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  2690. self.Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  2691. self.Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  2692. end
  2693. --Start
  2694. function Velkoz:Loop(myHero)
  2695. self:Checks()
  2696. if _G.IWalkConfig.Combo then
  2697. self:Combo()
  2698. end
  2699. end
  2700. function Velkoz:Checks()
  2701. self.QREADY = CanUseSpell(myHero,_Q) == READY
  2702. self.WREADY = CanUseSpell(myHero,_W) == READY
  2703. self.EREADY = CanUseSpell(myHero,_E) == READY
  2704. self.RREADY = CanUseSpell(myHero,_R) == READY
  2705. self.target = GetTarget(1500, DAMAGE_MAGIC)
  2706. self.targetPos = GetOrigin(self.target)
  2707. self.mymouse = GetMousePos()
  2708. end
  2709. -- Velkoz E
  2710. function Velkoz:CastE(unit)
  2711. if self.Config.E then
  2712. if GetCastName(myHero, _E) == "VelkozE" then
  2713. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,850,50,false,true)
  2714. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  2715. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  2716. end
  2717. end
  2718. end
  2719. end
  2720.  
  2721. -- Velkoz W
  2722. function Velkoz:CastW(unit)
  2723. if self.Config.W then
  2724. if GetCastName(myHero, _W) == "VelkozW" then
  2725. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  2726. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 and IsInDistance(unit, 1500) then
  2727. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  2728. end
  2729. end
  2730. end
  2731. end
  2732. -- Velkoz Q
  2733. function Velkoz:CastQ(unit)
  2734. if self.Config.Q then
  2735. if GetCastName(myHero, _Q) == "VelkozQ" then
  2736. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1050,55,true,true)
  2737. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  2738. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  2739. end
  2740. end
  2741. end
  2742. end
  2743. -- Velkoz R
  2744. function Velkoz:CastR(unit)
  2745. if self.Config.R then
  2746. if GetCastName(myHero, _R) == "VelkozR" then
  2747. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  2748. local ult = (GetCastLevel(myHero,_R)*200)+(GetBonusAP(myHero)*.6)
  2749. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  2750. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  2751. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  2752. end
  2753. end
  2754. end
  2755. end
  2756. end
  2757. function Velkoz:Combo()
  2758. if ValidTarget(self.target, 1000) then
  2759. if self.EREADY then
  2760. self:CastE(self.target)
  2761. elseif self.WREADY then
  2762. self:CastW(self.target)
  2763. elseif self.QREADY then
  2764. self:CastQ(self.target)
  2765. elseif self.RREADY then
  2766. self:CastR(self.target)
  2767. end
  2768. end
  2769. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Velkoz Loaded</font>"))
  2770. end
  2771. -- Ekko
  2772. class "Ekko"
  2773. function Ekko:__init()
  2774. OnLoop(function(myHero) self:Loop(myHero) end)
  2775. --Menu
  2776. self.Config = scriptConfig("Ekko", "Ekko")
  2777. self.Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  2778. self.Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  2779. self.Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  2780. self.Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  2781. self.Config.addParam("Rs", "Use R Save", SCRIPT_PARAM_ONOFF, true)
  2782. self.Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  2783. end
  2784. --Start
  2785. function Ekko:Loop(myHero)
  2786. self:Checks()
  2787. if _G.IWalkConfig.Combo then
  2788. self:Combo()
  2789. end
  2790. end
  2791. function Ekko:Checks()
  2792. self.QREADY = CanUseSpell(myHero,_Q) == READY
  2793. self.WREADY = CanUseSpell(myHero,_W) == READY
  2794. self.EREADY = CanUseSpell(myHero,_E) == READY
  2795. self.RREADY = CanUseSpell(myHero,_R) == READY
  2796. self.target = GetTarget(1500, DAMAGE_MAGIC)
  2797. self.targetPos = GetOrigin(self.target)
  2798. self.mymouse = GetMousePos()
  2799. end
  2800.  
  2801. -- Q cast
  2802. function Ekko:CastQ(unit)
  2803. if GetCastName(myHero, _Q) == "EkkoQ" then
  2804. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1075,50,false,true)
  2805. if self.Config.Q then
  2806. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  2807. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  2808. end
  2809. end
  2810. end
  2811. end
  2812. -- W Cast
  2813. function Ekko:CastW(unit)
  2814. if GetCastName(myHero, _W) == "EkkoW" then
  2815. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1600,50,false,true)
  2816. if self.Config.W then
  2817. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  2818. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  2819. end
  2820. end
  2821. end
  2822. end
  2823. function Ekko:CastE(unit)
  2824. -- E Cast Will cast E and if im correct then GoS will click champ and Ekko will blink Cast = 325 range Blink= 425
  2825. if GetCastName(myHero, _E) == "EkkoE" then
  2826. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,750,50,false,true)
  2827. if self.Config.E then
  2828. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  2829. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  2830. end
  2831. end
  2832. end
  2833. end
  2834. -- R cast
  2835. function Ekko:CastR(unit)
  2836. if GetCastName(myHero, _R) == "EkkoR" then
  2837. if self.Config.R then
  2838. local ult = (GetCastLevel(myHero,_R)*150+50)+(GetBonusAP(myHero)*1.30)
  2839. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,325,50,false,true)
  2840. if CanUseSpell(myHero, _R) and IsInDistance(unit, 325) then
  2841. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  2842. CastSkillShot(_R,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  2843. end
  2844. end
  2845. end
  2846. end
  2847. end
  2848. function Ekko:CastRs(unit)
  2849. if GetCastName(myHero, _R) == "EkkoR" then
  2850. if self.Config.Rs then
  2851. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.2 and
  2852. CanUseSpell(myHero, _R) == READY and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  2853. CastTargetSpell(myHero,_R)
  2854. end
  2855. end
  2856. end
  2857. end
  2858. function Ekko:Combo()
  2859. if ValidTarget(self.target, 1000) then
  2860. if self.QREADY then
  2861. self:CastQ(self.target)
  2862. elseif self.WREADY then
  2863. self:CastW(self.target)
  2864. elseif self.EREADY then
  2865. self:CastE(self.target)
  2866. elseif self.RREADY then
  2867. self:CastR(self.target)
  2868. elseif self.RREADY then
  2869. self:CastRs(self.target)
  2870. end
  2871. end
  2872. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Ekko Loaded</font>"))
  2873. end
  2874.  
  2875.  
  2876. --Nidalee
  2877. if GetObjectName(GetMyHero()) == "Nidalee" then
  2878. --Menu
  2879. Config = scriptConfig("Nidalee", "Nidalee")
  2880. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  2881. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  2882. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  2883. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  2884. Config.addParam("Q2", "Use Q2", SCRIPT_PARAM_ONOFF, true)
  2885. Config.addParam("W2", "Use W2", SCRIPT_PARAM_ONOFF, true)
  2886. Config.addParam("E2", "Use E2", SCRIPT_PARAM_ONOFF, true)
  2887. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  2888. --Start
  2889. OnLoop(function(myHero)
  2890. -- Nidalee human heal --THANKS SNOWBALL
  2891. if GetCastName(myHero, _E) == "PrimalSurge" then
  2892. if Config.E then
  2893. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.2 and
  2894. CanUseSpell(myHero, _E) == READY and IsObjectAlive(myHero) then
  2895. CastTargetSpell(myHero,_E)
  2896. end
  2897. end
  2898. end
  2899. AutoIgnite()
  2900. if Config.Combo then
  2901. local unit = GetCurrentTarget()
  2902. if ValidTarget(unit, 1500) then
  2903.  
  2904. -- Nidalee Human Trap
  2905. if GetCastName(myHero, _W) == "Bushwhack" then
  2906. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,true,true)
  2907. if Config.W then
  2908. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  2909. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  2910. end
  2911. end
  2912. end
  2913. -- Nidalee human spear
  2914. if GetCastName(myHero, _Q) == "JavelinToss"then
  2915. -- GetPredictionForPlayer(startPosition, targetUnit, targetUnitMoveSpeed, spellTravelSpeed, spellDelay, spellRange, spellWidth, collision, addHitBox)
  2916. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,true,true)
  2917. if Config.Q then
  2918. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  2919. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  2920. end
  2921. end
  2922. end
  2923. -- Tansform to cougar
  2924. if GetCastName(myHero, _R) == "AspectOfTheCougar" then
  2925. if Config.R then
  2926. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.6 and
  2927. CanUseSpell(myHero, _R) == READY and CanUseSpell(myHero, _W) == READY and CanUseSpell(myHero, _Q) ~= READY and IsInDistance(unit, 750) then
  2928. CastTargetSpell(myHero, _R)
  2929. end
  2930. end
  2931. end
  2932. -- Cougar attack Q
  2933. if GetCastName(myHero, _Q) == "Takedown" then
  2934. if Config.Q2 then
  2935. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 475) then
  2936. CastTargetSpell(unit, _Q)
  2937. end
  2938. end
  2939. end
  2940. -- Cougar pounce W
  2941. if GetCastName(myHero, _W) == "Pounce" then
  2942. if Config.W2 then
  2943. if CanUseSpell(myHero, _W) == READY and IsInDistance(unit, 375) then
  2944. CastTargetSpell(unit, _W)
  2945. end
  2946. end
  2947. end
  2948. -- E cast in cougar form
  2949. if GetCastName(myHero, _E) == "Swipe" then
  2950. if Config.E2 then
  2951. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 300) then
  2952. CastTargetSpell(unit, _E)
  2953. end
  2954. end
  2955. end
  2956. -- Transform back
  2957. if GetCastName(myHero, _R) == "AspectOfTheCougar" then
  2958. if Config.R then
  2959. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.6 and
  2960. CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 750) and GotBuff(myHero, "nidaleepassivehunting") == 1 then
  2961. CastSpell(_R)
  2962. end
  2963. end
  2964. end
  2965. end
  2966.  
  2967. end
  2968. end)
  2969. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Nidalee Loaded</font>"))
  2970. end
  2971. -- Graves
  2972. class "Graves"
  2973. function Graves:__init()
  2974. OnLoop(function(myHero) self:Loop(myHero) end)
  2975. --Menu
  2976. self.Config = scriptConfig("Graves", "Graves")
  2977. self.Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  2978. self.Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  2979. self.Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  2980. self.Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  2981. self.Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  2982. end
  2983. --Start
  2984. function Graves:Loop(myHero)
  2985. self:Checks()
  2986. if _G.IWalkConfig.Combo then
  2987. self:Combo()
  2988. end
  2989. end
  2990. function Graves:Checks()
  2991. self.QREADY = CanUseSpell(myHero,_Q) == READY
  2992. self.WREADY = CanUseSpell(myHero,_W) == READY
  2993. self.EREADY = CanUseSpell(myHero,_E) == READY
  2994. self.RREADY = CanUseSpell(myHero,_R) == READY
  2995. self.target = GetTarget(1200, DAMAGE_PHYSICAL)
  2996. self.targetPos = GetOrigin(self.target)
  2997. self.mymouse = GetMousePos()
  2998. end
  2999. -- Q cast
  3000. function Graves:CastQ(unit)
  3001. if GetCastName(myHero, _Q) == "GravesClusterShot" then
  3002. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,false,true)
  3003. if self.Config.Q then
  3004. if self.QREADY and QPred.HitChance == 1 then
  3005. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  3006. end
  3007. end
  3008. end
  3009. end
  3010. -- W Cast
  3011. function Graves:CastW(unit)
  3012. if GetCastName(myHero, _W) == "GravesSmokeGrenade" then
  3013. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1600,50,false,true)
  3014. if self.Config.W then
  3015. if self.WREADY and WPred.HitChance == 1 then
  3016. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  3017. end
  3018. end
  3019. end
  3020. end
  3021. -- E Cast
  3022. function Graves:CastE(mymouse)
  3023. if GetCastName(myHero, _E) == "GravesMove" then
  3024. if self.Config.E and self.EREADY then
  3025. CastSkillShot(_E, GetMousePos().x, GetMousePos().y, GetMousePos().z)
  3026. end
  3027. end
  3028. end
  3029. -- R Cast
  3030. function Graves:CastR(unit)
  3031. if GetCastName(myHero, _R) == "GravesChargedShot" then
  3032. if self.Config.R then
  3033. local ult = (GetCastLevel(myHero,_R)*150+150)+(GetBonusDmg(myHero)*1.50)
  3034. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1000,50,true,true)
  3035. if CanUseSpell(myHero_R) == READY and RPred.HitChance == 1 and IsInDistance(target, GetCastRange(myHero,_R)) and self.RREADY then
  3036. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  3037. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  3038. end
  3039. end
  3040. end
  3041. end
  3042. end
  3043. function Graves:Combo()
  3044. if ValidTarget(self.target, 1000) then
  3045. if self.QREADY then
  3046. self:CastQ(self.target)
  3047. elseif self.WREADY then
  3048. self:CastW(self.target)
  3049. elseif self.EREADY then
  3050. self:CastE(self.mymouse)
  3051. elseif self.RREADY then
  3052. self:CastR(self.target)
  3053. end
  3054. end
  3055. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Graves Loaded</font>"))
  3056. end
  3057.  
  3058. if supportedHero[GetObjectName(myHero)] == true then
  3059. if _G[GetObjectName(myHero)] then
  3060. _G[GetObjectName(myHero)]()
  3061. end
  3062. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement