Advertisement
Cloudhax23

Untitled

Aug 12th, 2015
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 64.63 KB | None | 0 0
  1. --Version 3.2 Calculations for 12/24 champs SUpports have no calculation.
  2.  
  3. -- Vi
  4. if GetObjectName(GetMyHero()) == "Vi" then
  5. --Menu
  6. Config = scriptConfig("Vi", "Vi")
  7. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  8. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  9. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  10. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  11. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  12. --Start
  13. OnLoop(function(myHero)
  14. AutoIgnite()
  15. if Config.Combo and waitTickCount < GetTickCount() then
  16. local unit = GetCurrentTarget()
  17. if ValidTarget(unit, 1550) then
  18.  
  19.  
  20. local target = GetTarget(725, DAMAGE_PHYSICAL) -- Q from Deftsu
  21. if CanUseSpell(myHero, _Q) == READY and ValidTarget(target, 725) and Config.Q then
  22. local myHeroPos = GetMyHeroPos()
  23. CastSkillShot(_Q, myHeroPos.x, myHeroPos.y, myHeroPos.z)
  24. for i=250, 725, 250 do
  25. DelayAction(function()
  26. local _Qrange = 225 + math.min(225, i/2)
  27. local Pred = GetPredictionForPlayer(GetMyHeroPos(),target,GetMoveSpeed(target),math.huge,600,_Qrange,100,true,true)
  28. if Pred.HitChance >= 1 then
  29. CastSkillShot2(_Q, Pred.PredPos.x, Pred.PredPos.y, Pred.PredPos.z)
  30. end
  31. end, i)
  32. end
  33. end
  34. --Vi E
  35.  
  36. if Config.E then
  37. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 175) then
  38. CastSpell(_E)
  39. end
  40. end
  41. -- Cast R
  42. if Config.R then
  43. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 800) then
  44. CastTargetSpell(unit, _R)
  45. end
  46. end
  47. end
  48. end
  49. end)
  50. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Vi Loaded</font>"))
  51. end
  52. -- Yasuo
  53. if GetObjectName(GetMyHero()) == "Yasuo" then
  54. --Menu
  55. Config = scriptConfig("Yasuo", "Yasuo")
  56. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  57. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  58. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  59. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  60. Config.addParam("F", "E to Minion (Combo)", SCRIPT_PARAM_ONOFF, true)
  61. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  62. --Start
  63. OnLoop(function(myHero)
  64. local unit = GetCurrentTarget()
  65. AutoIgnite()
  66. if Config.Combo then
  67. if ValidTarget(unit, 1550) then
  68. -- Gang Q
  69.  
  70. if Config.Q then
  71. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero, _Q),50,false,true)
  72. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 1200) and QPred.HitChance == 1 then
  73. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  74. end
  75. end
  76. -- Yasuo E
  77. if GetCastName(myHero, _E) == "YasuoDashWrapper" then
  78. if Config.E then
  79. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 475) then
  80. CastTargetSpell(unit,_E)
  81. end
  82. end
  83. end
  84. -- Yasuo R
  85. if Config.R then
  86. local ult = (GetCastLevel(myHero,_R)*100)+(GetBonusDmg(myHero)*1.50)
  87. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) and CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 1200) then
  88. CastSpell(_R)
  89. end
  90. end
  91. end
  92. end
  93. end)
  94.  
  95. OnLoop(function(myHero)
  96. if Config.Combo then
  97. if Config.F then
  98. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  99. local targetPos = GetOrigin(Q)
  100. local drawPos = WorldToScreen(1,targetPos.x,targetPos.y,targetPos.z)
  101. local hp = GetCurrentHP(Q)
  102. local Dmg = CalcDamage(myHero, Q, GetBonusDmg(myHero)+GetBaseDamage(myHero))
  103. local unit = GetCurrentTarget()
  104. if Dmg < hp or Dmg > hp then
  105. if unit == nil then return end
  106. elseif GotBuff(unit, "YasuoDashWrapper") > 1 then return end
  107. if GetCastName(myHero, _E) == "YasuoDashWrapper" then
  108. if CanUseSpell(myHero, _E) == READY and IsInDistance(Q, 475) then
  109. CastTargetSpell(Q,_E)
  110. end
  111.  
  112. end
  113. end
  114. end
  115.  
  116. end
  117. end)
  118. OnProcessSpell(function(unit, spell) -- All of this is from ispired
  119. myHero = GetMyHero()
  120. if Config.W and unit and GetTeam(unit) ~= GetTeam(myHero) and GetObjectType(unit) == GetObjectType(myHero) and GetDistance(unit) < 1500 then
  121. 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
  122. local wPos = GenerateWallPos(GetOrigin(unit))
  123. CastSkillShot(_W, wPos.x, wPos.y, wPos.z)
  124. elseif spell.endPos then
  125. local makeUpPos = GenerateSpellPos(GetOrigin(unit), spell.endPos, GetDistance(unit, myHero))
  126. if GetDistanceSqr(makeUpPos) < (GetHitBox(myHero)*3)^2 or GetDistanceSqr(spell.endPos) < (GetHitBox(myHero)*3)^2 then
  127. local wPos = GenerateWallPos(GetOrigin(unit))
  128. CastSkillShot(_W, wPos.x, wPos.y, wPos.z)
  129. end
  130. end
  131. end
  132. end)
  133. function GenerateWallPos(unitPos)
  134. local tV = {x = (unitPos.x-GetMyHeroPos().x), z = (unitPos.z-GetMyHeroPos().z)}
  135. local len = math.sqrt(tV.x * tV.x + tV.z * tV.z)
  136. return {x = GetMyHeroPos().x + 400 * tV.x / len, y = 0, z = GetMyHeroPos().z + 400 * tV.z / len}
  137. end
  138.  
  139. function GenerateSpellPos(unitPos, spellPos, range)
  140. local tV = {x = (spellPos.x-unitPos.x), z = (spellPos.z-unitPos.z)}
  141. local len = math.sqrt(tV.x * tV.x + tV.z * tV.z)
  142. return {x = unitPos.x + range * tV.x / len, y = 0, z = unitPos.z + range * tV.z / len}
  143. end -- Inspireds END
  144. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Yasuo Loaded</font>"))
  145. end
  146. -- Sona
  147. if GetObjectName(GetMyHero()) == "Sona" then
  148. --Menu
  149. Config = scriptConfig("Sona", "Sona")
  150. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  151. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  152. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  153. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  154. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  155. --Start
  156. OnLoop(function(myHero)
  157. local unit = GetCurrentTarget()
  158. if Config.W then
  159. for _, ally in pairs(GetAllyHeroes()) do
  160. if Config.W then
  161. if (GetCurrentHP(ally)/GetMaxHP(ally))<0.6 and
  162. CanUseSpell(myHero, _W) == READY and IsInDistance(ally, 1000) and IsObjectAlive(ally) then
  163. CastSpell(_W)
  164. end
  165. end
  166. end
  167. end
  168. if GetCastName(myHero, _W) == "SonaW" then
  169. if Config.W then
  170. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.5 and
  171. CanUseSpell(myHero, _W) == READY and IsObjectAlive(myHero) then
  172. CastSpell(_W)
  173. end
  174. end
  175. end
  176. AutoIgnite()
  177. if Config.Combo then
  178. if ValidTarget(unit, 1550) then
  179. -- Sona Q
  180. if Config.Q then
  181. if GetCastName(myHero, _Q) == "SonaQ" then
  182. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,260,50,false,true)
  183. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 850) then
  184. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  185. end
  186. end
  187. end
  188. -- Sona R
  189. if Config.R then
  190. if GetCastName(myHero, _R) == "SonaR" then
  191. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1000,50,false,true)
  192. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.6 and
  193. CanUseSpell(myHero, _R) == READY and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  194. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  195. end
  196. end
  197. end
  198. end
  199. end
  200. end)
  201. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Sona Loaded</font>"))
  202. end
  203. --Khazix
  204. if GetObjectName(GetMyHero()) == "Khazix" then
  205. --Menu
  206. Config = scriptConfig("Khazix", "Khazix")
  207. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  208. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  209. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  210. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  211. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  212. --Start
  213. OnLoop(function(myHero)
  214. AutoIgnite()
  215. if Config.Combo then
  216. local unit = GetCurrentTarget()
  217. if ValidTarget(unit, 1700) then
  218.  
  219. -- Khazix E
  220. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero,_E),50,false,true)
  221. if Config.E then
  222. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  223. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  224. end
  225. end
  226. -- Khazix Q
  227. if Config.Q then
  228. if CanUseSpell(myHero, _Q) == READY and IsObjectAlive(unit) and IsInDistance(unit, 325) then
  229. CastTargetSpell(unit,_Q)
  230. end
  231. end
  232. -- Khazix Q
  233. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,600,50,true,true)
  234. if Config.Q then
  235. if CanUseSpell(myHero, _W) == READY and IsInDistance(unit, 1000) and WPred.HitChance == 1 then
  236. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  237. end
  238. end
  239. end
  240. end
  241. end)
  242. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Khazix Loaded</font>"))
  243. end
  244. --Rumble
  245. if GetObjectName(GetMyHero()) == "Rumble" then
  246. --Menu
  247. Config = scriptConfig("Rumble", "Rumble")
  248. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  249. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  250. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  251. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  252. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  253. --Start
  254. OnLoop(function(myHero)
  255. AutoIgnite()
  256. if Config.Combo then
  257. local unit = GetCurrentTarget()
  258. if ValidTarget(unit, 1700) then
  259.  
  260. -- Rumble Q
  261. if GetCastName(myHero, _Q) == "RumbleFlameThrower" then
  262. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,600,50,false,true)
  263. if Config.Q then
  264. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 600) and QPred.HitChance == 1 then
  265. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  266. end
  267. end
  268. end
  269. -- Rumble E
  270. if GetCastName(myHero, _E) == "RumbleGrenade" then
  271. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,850,50,true,true)
  272. if Config.E then
  273. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 850) and EPred.HitChance == 1 then
  274. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  275. end
  276. end
  277. end
  278. -- Rumble R
  279. local myorigin = GetOrigin(unit)
  280. local mymouse = GetCastRange(myHero,_R)
  281. if Config.R then
  282. local ult = (GetCastLevel(myHero,_R)*55)+(GetBonusAP(myHero)*.30)
  283. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1700,55,false,true)
  284. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) and CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1700) then
  285. CastSkillShot3(_R,myorigin,EPred)
  286. end
  287. end
  288. end
  289. end
  290. end)
  291. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Rumble Loaded</font>"))
  292. end
  293. -- Alistar
  294. if GetObjectName(GetMyHero()) == "Alistar" then
  295. --Menu
  296. Config = scriptConfig("Alistar", "Alistar")
  297. Config.addParam("QW", "Use QW Combo", SCRIPT_PARAM_ONOFF, false)
  298. Config.addParam("WQ", "Use WQ Combo", SCRIPT_PARAM_ONOFF, true)
  299. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  300. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  301. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  302. --Start
  303. OnLoop(function(myHero)
  304. local unit = GetCurrentTarget()
  305. if GetCastName(myHero, _R) == "FerociousHowl" then
  306. if Config.R then
  307. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.4 and
  308. CanUseSpell(myHero, _R) == READY and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  309. CastSpell(_R)
  310. end
  311. end
  312. end
  313. for _, ally in pairs(GetAllyHeroes()) do
  314. if Config.E then
  315. if (GetCurrentHP(ally)/GetMaxHP(ally))<0.7 and
  316. CanUseSpell(myHero, _E) == READY and IsInDistance(ally, 575) and IsObjectAlive(ally) then
  317. CastSpell(_E)
  318. end
  319. end
  320. end
  321. if GetCastName(myHero, _E) == "TriumphantRoar" then
  322. if Config.E then
  323. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.7 and
  324. CanUseSpell(myHero, _E) == READY and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  325. CastSpell(_E)
  326. end
  327. end
  328. end
  329. AutoIgnite()
  330. if Config.Combo then
  331. if ValidTarget(unit, 1550) then
  332. -- Alistar W
  333. if GetCastName(myHero, _W) == "Headbutt" then
  334. if Config.WQ then
  335. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 650) then
  336. CastTargetSpell(unit, _W)
  337. end
  338. end
  339. end
  340. -- Alistar Q
  341. if Config.WQ then
  342. if GetCastName(myHero, _Q) == "Pulverize" then
  343. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,260,50,false,true)
  344. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 365) then
  345. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  346. end
  347. end
  348. end
  349. -- Alistar Q
  350. if Config.QW then
  351. if GetCastName(myHero, _Q) == "Pulverize" then
  352. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,260,50,false,true)
  353. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 365) then
  354. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  355. end
  356. end
  357. end
  358. -- Alistar W
  359. if GetCastName(myHero, _W) == "Headbutt" then
  360. if Config.QW then
  361. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 300) then
  362. CastTargetSpell(unit, _W)
  363. end
  364. end
  365. end
  366. end
  367. end
  368. end)
  369. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Alistar Loaded</font>"))
  370. end
  371. -- Leona
  372. if GetObjectName(GetMyHero()) == "Leona" then
  373. --Menu
  374. Config = scriptConfig("Leona", "Leona")
  375. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  376. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  377. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  378. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  379. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  380. --Start
  381. OnLoop(function(myHero)
  382. local unit = GetCurrentTarget()
  383. if GetCastName(myHero, _W) == "LeonaSolarBarrier" then
  384. if Config.W then
  385. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.75 and
  386. CanUseSpell(myHero, _W) == READY and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  387. CastTargetSpell(myHero,_W)
  388. end
  389. end
  390. end
  391. AutoIgnite()
  392. if Config.Combo then
  393. if ValidTarget(unit, 1550) then
  394.  
  395. -- Leona Q
  396. if Config.Q then
  397. if GetCastName(myHero, _Q) == "LeonaShieldOfDaybreak" then
  398. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 625) then
  399. CastTargetSpell(unit,_Q)
  400. end
  401. end
  402. end
  403. --Leona E
  404. if Config.E then
  405. if GetCastName(myHero, _E) == "LeonaZenithBlade" then
  406. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero,_E),50,false,true)
  407. if CanUseSpell(myHero, _E) == READY and IsObjectAlive(unit) and IsInDistance(unit, 700) then
  408. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  409. end
  410. end
  411. end
  412. -- Leona R
  413. if Config.R then
  414. if GetCastName(myHero, _R) == "LeonaSolarFlare" then
  415. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero,_R),50,false,true)
  416. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.8 and
  417. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 1100) then
  418. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  419. end
  420. end
  421. end
  422. end
  423. end
  424. end)
  425. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Leona Loaded</font>"))
  426. end
  427. -- Swain
  428. if GetObjectName(GetMyHero()) == "Swain" then
  429. --Menu
  430. Config = scriptConfig("Swain", "Swain")
  431. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  432. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  433. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  434. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  435. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  436. --Start
  437. OnLoop(function(myHero)
  438. local unit = GetCurrentTarget()
  439. if GetCastName(myHero, _R) == "SwainMetamorphism" then
  440. if Config.R then
  441. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.3 and
  442. CanUseSpell(myHero, _R) == READY and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  443. CastTargetSpell(myHero,_R)
  444. end
  445. end
  446. end
  447. AutoIgnite()
  448. if Config.Combo then
  449. if ValidTarget(unit, 1550) then
  450.  
  451. -- Swain Q
  452. if Config.Q then
  453. if GetCastName(myHero, _Q) == "SwainDecrepify" then
  454. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 625) then
  455. CastTargetSpell(unit,_Q)
  456. end
  457. end
  458. end
  459. --Swain E
  460. if Config.E then
  461. if GetCastName(myHero, _E) == "SwainTorment" then
  462. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 625) then
  463. CastTargetSpell(unit,_E)
  464. end
  465. end
  466. end
  467. -- Swain W
  468. if Config.W then
  469. if GetCastName(myHero, _W) == "SwainShadowGrasp" then
  470. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero,_W),50,false,true)
  471. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 625) then
  472. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  473. end
  474. end
  475. end
  476. if Config.R then
  477. if GetCastName(myHero, _R) == "SwainMetamorphism" then
  478. local ult = (GetCastLevel(myHero,_R)*50+130)+(GetBonusAP(myHero)*.2)
  479. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) and
  480. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 700) then
  481. CastTargetSpell(myHero, _R)
  482. end
  483. end
  484. end
  485. end
  486. end
  487. end)
  488. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Swain Loaded</font>"))
  489. end
  490. -- Gnar
  491. if GetObjectName(GetMyHero()) == "Gnar" then
  492. --Menu
  493. Config = scriptConfig("Gnar", "Gnar")
  494. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  495. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  496. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  497. --Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  498. Config.addParam("Q2", "Use Q2", SCRIPT_PARAM_ONOFF, true)
  499. Config.addParam("W2", "Use W2", SCRIPT_PARAM_ONOFF, true)
  500. Config.addParam("E2", "Use E2", SCRIPT_PARAM_ONOFF, true)
  501. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  502. --Start
  503. OnLoop(function(myHero)
  504. AutoIgnite()
  505. if Config.Combo then
  506. local mymouse = GetMousePos()
  507. local unit = GetCurrentTarget()
  508. if ValidTarget(unit, 1550) then
  509.  
  510. -- Gnar Q
  511. if Config.Q then
  512. if GetCastName(myHero, _Q) == "GnarQ" then
  513. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1100,50,true,true)
  514. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 1100) then
  515. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  516. end
  517. end
  518. end
  519. --Gnar E gnarbigqwe
  520. if Config.E then
  521. if GetCastName(myHero, _E) == "GnarE" then
  522. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 1100) then
  523. CastSkillShot(_E, GetMousePos().x, GetMousePos().y, GetMousePos().z)
  524. end
  525. end
  526. end
  527. -- Gnar W
  528. if Config.W2 then
  529. if GetCastName(myHero, _W) == "gnarbigw" then
  530. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero,_W),50,false,true)
  531. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and ValidTarget(unit, GetCastRange(myHero,_W)) then
  532. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  533. end
  534. end
  535. end
  536. if Config.Q2 then
  537. if GetCastName(myHero, _Q) == "gnarbigq" then
  538. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1100,50,true,true)
  539. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 1100) then
  540. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  541. end
  542. end
  543. end
  544. if Config.E2 then
  545. if GetCastName(myHero, _E) == "gnarbige" then
  546. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,475,50,false,true)
  547. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 1100) then
  548. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  549. end
  550. end
  551. end
  552.  
  553. end
  554. end
  555. end)
  556. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Gnar Loaded</font>"))
  557. end
  558. -- Udyr
  559. if GetObjectName(GetMyHero()) == "Udyr" then
  560. --Menu
  561. Config = scriptConfig("Udyr", "Udyr")
  562. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  563. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  564. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  565. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  566. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  567. --Start
  568. OnLoop(function(myHero)
  569. AutoIgnite()
  570. if Config.Combo then
  571. local unit = GetCurrentTarget()
  572. if ValidTarget(unit, 1550) then
  573.  
  574. --Udyr E
  575. if GetCastName(myHero, _E) == "UdyrBearStance" then
  576. if Config.E then
  577. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 125) then
  578. CastTargetSpell(myHero,_E)
  579. end
  580. end
  581. end
  582. -- Udyr Q
  583. if Config.Q then
  584. if GetCastName(myHero, _Q) == "UdyrTigerStance" then
  585. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 125) then
  586. CastTargetSpell(myHero,_Q)
  587. end
  588. end
  589. end
  590. -- Udyr W
  591. if GetCastName(myHero, _W) == "UdyrTurtleStance" then
  592. if Config.W then
  593. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,false,true)
  594. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 125) then
  595. CastTargetSpell(myHero,_W)
  596. end
  597. end
  598. end
  599. -- Cast R
  600. if GetCastName(myHero, _R) == "UdyrPhoenixStance" then
  601. if Config.R then
  602. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 250) then
  603. CastTargetSpell(myHero, _R)
  604. end
  605. end
  606. end
  607. end
  608. end
  609. end)
  610. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Udyr Loaded</font>"))
  611. end
  612. -- Brand
  613. if GetObjectName(GetMyHero()) == "Brand" then
  614. --Menu
  615. Config = scriptConfig("Brand", "Brand")
  616. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  617. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  618. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  619. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  620. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  621. --Start
  622. OnLoop(function(myHero)
  623. AutoIgnite()
  624. if Config.Combo then
  625. local unit = GetCurrentTarget()
  626. if ValidTarget(unit, 1550) then
  627.  
  628. --Brand E
  629. if GetCastName(myHero, _E) == "BrandConflagration" then
  630. if Config.E then
  631. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 625) then
  632. CastTargetSpell(unit,_E)
  633. end
  634. end
  635. end
  636. -- Brand Q
  637. if Config.Q then
  638. if GetCastName(myHero, _Q) == "BrandBlaze" then
  639. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1050,50,true,true)
  640. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 1050) and GotBuff(unit, "brandablaze") == 1 then
  641. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  642. end
  643. end
  644. end
  645. -- Brand W
  646. if GetCastName(myHero, _W) == "BrandFissure" then
  647. if Config.W then
  648. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,false,true)
  649. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 900) then
  650. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  651. end
  652. end
  653. end
  654. -- Cast R
  655. if GetCastName(myHero, _R) == "BrandWildfire" then
  656. if Config.R then
  657. local ult = (GetCastLevel(myHero,_R)*100)+(GetBonusAP(myHero)*.50)
  658. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) and
  659. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 750) then
  660. CastTargetSpell(unit, _R)
  661. end
  662. end
  663. end
  664. end
  665. end
  666. end)
  667. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Brand Loaded</font>"))
  668. end
  669. -- Fiora
  670. if GetObjectName(GetMyHero()) == "Fiora" then
  671. --Menu
  672. Config = scriptConfig("Fiora", "Fiora")
  673. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  674. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  675. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  676. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  677. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  678. --Start
  679. OnLoop(function(myHero)
  680. AutoIgnite()
  681. if Config.Combo then
  682. local unit = GetCurrentTarget()
  683. if ValidTarget(unit, 1550) then
  684.  
  685. -- Fiora Q
  686. if Config.Q then
  687. if GetCastName(myHero, _Q) == "FioraQ" then
  688. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,400,50,false,true)
  689. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 400) then
  690. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  691. end
  692. end
  693. end
  694. -- Fiora W
  695. if GetCastName(myHero, _W) == "FioraW" then
  696. if Config.W then
  697. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,750,50,false,true)
  698. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 750) then
  699. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  700. end
  701. end
  702. end
  703. --Fiora E
  704. if GetCastName(myHero, _E) == "FioraE" then
  705. if Config.E then
  706. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 260) then
  707. CastTargetSpell(myHero,_E)
  708. end
  709. end
  710. end
  711. -- Cast R
  712. if GetCastName(myHero, _R) == "FioraR" then
  713. if Config.R then
  714. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.4 and
  715. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 500) then
  716. CastTargetSpell(unit, _R)
  717. end
  718. end
  719. end
  720. end
  721. end
  722. end)
  723. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Fiora Loaded</font>"))
  724. end
  725.  
  726. -- Riven
  727. if GetObjectName(GetMyHero()) == "Riven" then
  728. --Menu
  729. Config = scriptConfig("Riven", "Riven")
  730. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  731. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  732. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  733. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  734. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  735. --Start
  736. OnLoop(function(myHero)
  737. AutoIgnite()
  738. if Config.Combo then
  739. local unit = GetCurrentTarget()
  740. if ValidTarget(unit, 1550) then
  741. --Riven E
  742. if GetCastName(myHero, _E) == "RivenFeint" then
  743. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,325,50,true,true)
  744. if Config.E then
  745. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  746. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  747. end
  748. end
  749. end
  750. -- Riven Q
  751. if Config.Q then
  752. if GetCastName(myHero, _Q) == "RivenTriCleave" then
  753. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,260,50,false,true)
  754. DelayAction(function() AttackUnit(unit) end, 1800)
  755. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 260) then
  756. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  757. end
  758. end
  759. end
  760. -- Riven W
  761. if GetCastName(myHero, _W) == "RivenMartyr" then
  762. if Config.W then
  763. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,125,50,false,true)
  764. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 125) then
  765. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  766. end
  767. end
  768. end
  769. -- Cast R
  770. if GetCastName(myHero, _R) == "RivenFengShuiEngine" then
  771. if Config.R then
  772. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.3 and
  773. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 900) then
  774. CastTargetSpell(myHero, _R)
  775. end
  776. end
  777. end
  778. --Cast R windslash
  779. if GetCastName(myHero, _R) == "rivenizunablade" then
  780. if Config.R then
  781. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,false,true)
  782. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.4 and
  783. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 900) then
  784. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  785. end
  786. end
  787. end
  788. end
  789. end
  790. end)
  791. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Riven Loaded</font>"))
  792. end
  793.  
  794. -- Ziggs
  795. if GetObjectName(GetMyHero()) == "Ziggs" then
  796. --Menu
  797. Config = scriptConfig("Ziggs", "Ziggs")
  798. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  799. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  800. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  801. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  802. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  803. --Start
  804. OnLoop(function(myHero)
  805. AutoIgnite()
  806. if Config.Combo then
  807. local unit = GetCurrentTarget()
  808. if ValidTarget(unit, 1550) then
  809. -- Ziggs Q
  810.  
  811. if Config.Q then
  812. if GetCastName(myHero, _Q) == "ZiggsQ" then
  813. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1400,50,true,true)
  814. if CanUseSpell(myHero, _Q) == READY then
  815. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  816. end
  817. end
  818. end
  819. -- Ziggs E
  820. if GetCastName(myHero, _E) == "ZiggsE" then
  821. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,true,true)
  822. if Config.E then
  823. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  824. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  825. end
  826. end
  827. end
  828. -- Ziggs W
  829. if GetCastName(myHero, _W) == "ZiggsW" then
  830. if Config.W then
  831. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,5300,50,false,true)
  832. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.3 and
  833. CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  834. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,RPred.PredPos.z)
  835. end
  836. end
  837. end
  838. -- Ziggs R
  839. if GetCastName(myHero, _R) == "ZiggsR" then
  840. if Config.R then
  841. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,5300,50,false,true)
  842. local ult = (GetCastLevel(myHero,_R)*100)+(GetBonusAP(myHero)*.72)
  843. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) and
  844. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 5300) then
  845. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  846. end
  847. end
  848. end
  849. end
  850. end
  851. end)
  852. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Ziggs Loaded</font>"))
  853. end
  854. -- Gangplank
  855. if GetObjectName(GetMyHero()) == "Gangplank" then
  856. --Menu
  857. Config = scriptConfig("Gangplank", "Gangplank")
  858. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  859. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  860. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  861. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  862. Config.addParam("F", "LastHit", SCRIPT_PARAM_ONOFF, true)
  863. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  864. --Start
  865. OnLoop(function(myHero)
  866. local unit = GetCurrentTarget()
  867. --Auto heal if under or 30% HP AND ENEMY IS IN 1000 RANGE.
  868. if GetCastName(myHero, _W) == "GangplankW" then
  869. if Config.R then
  870. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.3 and
  871. CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 1000) then
  872. CastTargetSpell(myHero, _W)
  873. end
  874. end
  875. end
  876. -- Auto R (ks)
  877. if GetCastName(myHero, _R) == "GangplankR" then
  878. if Config.R then
  879. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,10000,50,false,true)
  880. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.2 and
  881. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 10000) then
  882. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  883. end
  884. end
  885. end
  886. AutoIgnite()
  887. if Config.Combo then
  888. if ValidTarget(unit, 1550) then
  889. -- Gang Q
  890.  
  891. if Config.Q then
  892. if GetCastName(myHero, _Q) == "GangplankQWrapper" then
  893. if CanUseSpell(myHero, _Q) == READY then
  894. CastTargetSpell(unit,_Q)
  895. end
  896. end
  897. end
  898. -- Gangplank E
  899. if GetCastName(myHero, _E) == "GangplankE" then
  900. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1000,50,false,true)
  901. if Config.E then
  902. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  903. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  904. end
  905. end
  906. end
  907. -- Gangplank R
  908. if GetCastName(myHero, _R) == "GangplankR" then
  909. if Config.R then
  910. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,10000,50,false,true)
  911. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.2 and
  912. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 10000) then
  913. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  914. end
  915. end
  916. end
  917. end
  918. end
  919. end)
  920. OnLoop(function(myHero)
  921. if IWalkConfig.LastHit then
  922. if Config.F then
  923. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  924. local targetPos = GetOrigin(Q)
  925. local drawPos = WorldToScreen(1,targetPos.x,targetPos.y,targetPos.z)
  926. local hp = GetCurrentHP(Q)
  927. local Dmg = CalcDamage(myHero, Q, GetBonusDmg(myHero)+GetBaseDamage(myHero))
  928. if Dmg > hp then
  929. if GetCastName(myHero, _Q) == "GangplankQWrapper" then
  930. if CanUseSpell(myHero, _Q) == READY then
  931. CastTargetSpell(Q,_Q)
  932. end
  933. end
  934. end
  935. end
  936. end
  937. end
  938. end)
  939. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Gangplank Loaded</font>"))
  940. end
  941.  
  942. -- Irelia
  943. if GetObjectName(GetMyHero()) == "Irelia" then
  944. --Menu
  945. Config = scriptConfig("Irelia", "Irelia")
  946. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  947. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  948. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  949. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  950. Config.addParam("F", "LastHit", SCRIPT_PARAM_ONOFF, true)
  951. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  952. --Start
  953. OnLoop(function(myHero)
  954. AutoIgnite()
  955. if Config.Combo then
  956. local unit = GetCurrentTarget()
  957. if ValidTarget(unit, 1550) then
  958. -- Irelia Q
  959. if Config.Q then
  960. if GetCastName(myHero, _Q) == "IreliaGatotsu" then
  961. if CanUseSpell(myHero, _Q) == READY then
  962. CastTargetSpell(unit,_Q)
  963. end
  964. end
  965. end
  966. -- Irelia E
  967. if Config.E then
  968. if GetCastName(myHero, _E) == "IreliaEquilibriumStrike" then
  969. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 325) then
  970. CastTargetSpell(unit,_E)
  971. end
  972. end
  973. end
  974. if Config.W then
  975. if GetCastName(myHero, _W) == "IreliaHitenStyle" then
  976. if CanUseSpell(myHero, _W) == READY and IsInDistance(unit, 325) then
  977. CastTargetSpell(unit,_W)
  978. end
  979. end
  980. end
  981. -- Irelia R
  982. if Config.R then
  983. if GetCastName(myHero, _R) == "IreliaTranscendentBlades" then
  984. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1000,55,false,true)
  985. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1000) then
  986. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  987. end
  988. end
  989. end
  990. end
  991. end
  992. end)
  993. OnLoop(function(myHero)
  994. if IWalkConfig.LastHit then
  995. if Config.F then
  996. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  997. if IsInDistance(Q, 750) then
  998. local z = (GetCastLevel(myHero,_Q)*30)+(GetBonusDmg(myHero)*1.9)
  999. local hp = GetCurrentHP(Q)
  1000. local Dmg = CalcDamage(myHero, Q, z)
  1001. if Dmg > hp then
  1002. if CanUseSpell(myHero, _Q) == READY then
  1003. CastTargetSpell(Q,_Q)
  1004. end
  1005. end
  1006. end
  1007. end
  1008. end
  1009. end
  1010. end)
  1011. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Irelia Loaded</font>"))
  1012. end
  1013.  
  1014. --Evelynn
  1015. if GetObjectName(GetMyHero()) == "Evelynn" then
  1016. --Menu
  1017. Config = scriptConfig("Evelynn", "Evelynn")
  1018. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1019. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1020. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1021. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1022. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1023. --Start
  1024. OnLoop(function(myHero)
  1025. AutoIgnite()
  1026. if Config.Combo then
  1027. local unit = GetCurrentTarget()
  1028. if ValidTarget(unit, 1550) then
  1029.  
  1030. -- Evelynn W
  1031. if Config.W then
  1032. if GetCastName(myHero, _W) == "EvelynnW" then
  1033. if CanUseSpell(myHero, _W) == READY then
  1034. CastTargetSpell(myHero,_W)
  1035. end
  1036. end
  1037. end
  1038. -- Evelynn Q
  1039. if Config.Q then
  1040. if GetCastName(myHero, _Q) == "EvelynnQ" then
  1041. if CanUseSpell(myHero, _Q) == READY then
  1042. CastTargetSpell(myHero,_Q)
  1043. end
  1044. end
  1045. end
  1046. -- Evelynn E
  1047. if Config.E then
  1048. if GetCastName(myHero, _E) == "EvelynnE" then
  1049. if CanUseSpell(myHero, _E) == READY then
  1050. CastTargetSpell(unit,_E)
  1051. end
  1052. end
  1053. end
  1054. -- Evelynn R
  1055. if Config.R then
  1056. if GetCastName(myHero, _R) == "EvelynnR" then
  1057. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,650,55,false,true)
  1058. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  1059. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  1060. end
  1061. end
  1062. end
  1063. end
  1064. end
  1065. end)
  1066. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Evelynn Loaded</font>"))
  1067. end
  1068.  
  1069. --Akali
  1070. if GetObjectName(GetMyHero()) == "Akali" then
  1071. --Menu
  1072. Config = scriptConfig("Akali", "Akali")
  1073. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1074. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1075. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1076. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1077. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1078. --Start
  1079. OnLoop(function(myHero)
  1080. AutoIgnite()
  1081. if Config.Combo then
  1082. local unit = GetCurrentTarget()
  1083. if ValidTarget(unit, 1550) then
  1084. if Config.Q then
  1085. if GetCastName(myHero, _Q) == "AkaliMota" then
  1086. if CanUseSpell(myHero, _Q) == READY then
  1087. CastTargetSpell(unit,_Q)
  1088. end
  1089. end
  1090. end
  1091. -- Akali E
  1092. if Config.E then
  1093. if GetCastName(myHero, _E) == "AkaliShadowSwipe" then
  1094. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,325,55,false,true)
  1095. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 325) then
  1096. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1097. end
  1098. end
  1099. -- Akali W
  1100. if Config.W then
  1101. if GetCastName(myHero, _W) == "AkaliSmokeBomb" then
  1102. if CanUseSpell(myHero, _W) == READY then
  1103. CastTargetSpell(unit,_W)
  1104. end
  1105. end
  1106. end
  1107. -- Akali R
  1108. if Config.R then
  1109. if GetCastName(myHero, _R) == "AkaliShadowDance" then
  1110. if CanUseSpell(myHero, _R) == READY then
  1111. CastTargetSpell(unit,_R)
  1112. end
  1113. end
  1114. end
  1115. end
  1116. end
  1117. end
  1118. end)
  1119. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Akali Loaded</font>"))
  1120. end
  1121.  
  1122. --Menu
  1123. if GetObjectName(GetMyHero()) == "Azir" then
  1124. --Azir
  1125. Config = scriptConfig("Azir", "Azir")
  1126. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1127. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1128. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1129. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1130. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1131. --Start
  1132. OnLoop(function(myHero)
  1133. AutoIgnite()
  1134. if Config.Combo then
  1135. local unit = GetCurrentTarget()
  1136. if ValidTarget(unit, 1550) then
  1137.  
  1138. -- Azir W
  1139. if Config.W then
  1140. if GetCastName(myHero, _W) == "AzirW" then
  1141. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,850,55,false,true)
  1142. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  1143. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1144. end
  1145. end
  1146. end
  1147. -- Azir Q
  1148. if Config.Q then
  1149. if GetCastName(myHero, _Q) == "AzirQ" then
  1150. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  1151. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  1152. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1153. end
  1154. end
  1155. end
  1156. -- Azir E
  1157. if Config.E then
  1158. if GetCastName(myHero, _E) == "AzirE" then
  1159. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,850,50,false,true)
  1160. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  1161. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1162. end
  1163. end
  1164. end
  1165. -- Azir R
  1166. if Config.R then
  1167. if GetCastName(myHero, _R) == "AzirR" then
  1168. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,250,55,false,true)
  1169. local ult = (GetCastLevel(myHero,_R)*75)+(GetBonusAP(myHero)*.6)
  1170. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) or (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.27 and CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 250) then
  1171. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  1172. end
  1173. end
  1174. end
  1175. end
  1176. end
  1177. end)
  1178. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Azir Loaded</font>"))
  1179. end
  1180.  
  1181. --Viktor
  1182. if GetObjectName(GetMyHero()) == "Viktor" then
  1183. --Menu
  1184. Config = scriptConfig("Viktor", "Viktor")
  1185. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1186. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1187. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1188. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1189. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1190. --Start
  1191. OnLoop(function(myHero)
  1192. AutoIgnite()
  1193. if Config.Combo then
  1194. local unit = GetCurrentTarget()
  1195. if ValidTarget(unit, 1550) then
  1196.  
  1197. -- Viktor W
  1198. if Config.W then
  1199. if GetCastName(myHero, _W) == "ViktorGravitonField" then
  1200. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,700,55,false,true)
  1201. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  1202. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1203. end
  1204. end
  1205. end
  1206. -- Viktor Q
  1207. if Config.Q then
  1208. if GetCastName(myHero, _Q) == "ViktorPowerTransfer" then
  1209. if CanUseSpell(myHero, _Q) == READY then
  1210. CastTargetSpell(unit,_Q)
  1211. end
  1212. end
  1213. end
  1214. -- Viktor E
  1215. local myorigin = GetOrigin(unit)
  1216. local mymouse = GetCastRange(myHero,_E)
  1217. if Config.E then
  1218. if GetCastName(myHero, _E) == "ViktorDeathRay" then
  1219. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  1220. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 1500) then
  1221. CastSkillShot3(_E,myorigin,myorigin)
  1222. end
  1223. end
  1224. end
  1225. -- Viktor R
  1226. if Config.R then
  1227. if GetCastName(myHero, _R) == "ViktorChaosStorm" then
  1228. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,700,55,false,true)
  1229. local ult = (GetCastLevel(myHero,_R)*200+25)+(GetBonusDmg(myHero)*1.25)
  1230. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  1231. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  1232. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  1233. end
  1234. end
  1235. end
  1236. end
  1237. end
  1238. end
  1239. end)
  1240. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Viktor Loaded</font>"))
  1241. end
  1242. -- VelKoz
  1243. if GetObjectName(GetMyHero()) == "Velkoz" then
  1244. --Menu
  1245. Config = scriptConfig("VelKoz", "VelKoz")
  1246. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1247. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1248. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1249. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1250. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1251. --Start
  1252. OnLoop(function(myHero)
  1253. AutoIgnite()
  1254. if Config.Combo then
  1255. local unit = GetCurrentTarget()
  1256. if ValidTarget(unit, 1550) then
  1257.  
  1258. -- Velkoz E
  1259. if Config.E then
  1260. if GetCastName(myHero, _E) == "VelkozE" then
  1261. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,850,50,false,true)
  1262. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  1263. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1264. end
  1265. end
  1266. end
  1267.  
  1268. -- Velkoz W
  1269. if Config.W then
  1270. if GetCastName(myHero, _W) == "VelkozW" then
  1271. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  1272. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 and IsInDistance(unit, 1500) then
  1273. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1274. end
  1275. end
  1276. end
  1277. -- Velkoz Q
  1278. if Config.Q then
  1279. if GetCastName(myHero, _Q) == "VelkozQ" then
  1280. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1050,55,true,true)
  1281. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  1282. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1283. end
  1284. end
  1285. end
  1286. -- Velkoz R
  1287. if Config.R then
  1288. if GetCastName(myHero, _R) == "VelkozR" then
  1289. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  1290. local ult = (GetCastLevel(myHero,_R)*200)+(GetBonusDmg(myHero)*.6)
  1291. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  1292. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  1293. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  1294. end
  1295. end
  1296. end
  1297. end
  1298. end
  1299. end
  1300. end)
  1301. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Velkoz Loaded</font>"))
  1302. end
  1303.  
  1304. if GetObjectName(GetMyHero()) == "Syndra" then
  1305. --Menu
  1306. Config = scriptConfig("Syndra", "Syndra")
  1307. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1308. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1309. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1310. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1311. Config.addParam("Stun", "Press to Stun", SCRIPT_PARAM_KEYDOWN, string.byte("T")) --Maxxel logic
  1312. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1313. --Start
  1314. OnLoop(function(myHero)
  1315. AutoIgnite()
  1316. if Config.Combo then
  1317. local unit = GetCurrentTarget()
  1318. if ValidTarget(unit, 1200) then
  1319.  
  1320. -- Syndra Q cast
  1321. if GetCastName(myHero, _Q) == "SyndraQ" then
  1322. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,800,50,true,true)
  1323. if Config.Q then
  1324. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  1325. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1326. end
  1327. end
  1328. end
  1329.  
  1330. -- Syndra cast W on Minion
  1331. if GetCastName(myHero, _W) == "SyndraW" then
  1332. if Config.W then
  1333. if CanUseSpell(myHero, _W) == READY then
  1334. CastTargetSpell(Obj_AI_Minion, _W)
  1335. end
  1336. end
  1337. end
  1338. -- Syndra cast W at Enemy
  1339. if GetCastName(myHero, _W) == "SyndraW" then
  1340. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,925,50,true,true)
  1341. if Config.W then
  1342. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  1343. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1344. end
  1345. end
  1346. end
  1347. -- Syndra PUSH
  1348. if GetCastName(myHero, _E) == "SyndraE" then
  1349. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,700,50,true,true)
  1350. if Config.E then
  1351. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  1352. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1353. end
  1354. end
  1355. end
  1356. -- Syndra Ultimate
  1357. if GetCastName(myHero, _R) == "SyndraR" then
  1358. if Config.R then
  1359. if unit ~= nil then
  1360. local ult = (GetCastLevel(myHero,_R)*135)+(GetBonusAP(myHero)*.6)
  1361. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 675) then
  1362. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  1363. CastTargetSpell(unit, _R)
  1364. end
  1365. end
  1366. end
  1367. end
  1368. end
  1369. local unit = GetCurrentTarget() --Maxxxel logic
  1370. local myHeroPos = GetOrigin(myHero)
  1371. DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z,1200,2,0,0xffff0000)
  1372. if Config.Stun then
  1373. if ValidTarget(unit,1200) then
  1374. local timea
  1375. local distanceStun=0
  1376. if timea~=nil and CanUseSpell(myHero, _Q) ~= READY and CanUseSpell(myHero, _E) ~= READY then
  1377. timea=nil
  1378. end
  1379. ---Values---
  1380. local enemyposition = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1200,50,true,true)
  1381. enemyposx=enemyposition.PredPos.x
  1382. enemyposy=enemyposition.PredPos.y
  1383. enemyposz=enemyposition.PredPos.z
  1384. local TargetPos = Vector(enemyposx,enemyposy,enemyposz)
  1385. if GetDistance(unit)>=700 then
  1386. distanceStun=GetDistance(unit)-700
  1387. end
  1388. if GetDistance(unit)<700 then
  1389. distanceStun=0
  1390. end
  1391. local firePos = TargetPos-(TargetPos-myHeroPos)*(distanceStun/GetDistance(unit))
  1392. local dPredict = GetDistance(myHero,firePosPoint)
  1393. ---Values end---
  1394. if CanUseSpell(myHero, _Q) == READY and CanUseSpell(myHero, _E) == READY and timea==nil then
  1395. if dPredict < 1200 then
  1396. CastSkillShot(_Q,firePos.x,0,firePos.z)
  1397. timea = GetTickCount()
  1398. end
  1399. end
  1400. if CanUseSpell(myHero, _E) == READY and timea~=GetTickCount() then
  1401. CastSkillShot(_E,firePos.x,0,firePos.z)
  1402. end
  1403. end
  1404. Move()
  1405. end
  1406.  
  1407. function Move()
  1408. local movePos = GenerateMovePos()
  1409. if GetDistance(GetMousePos()) > GetHitBox(myHero) then
  1410. MoveToXYZ(movePos.x, 0, movePos.z)
  1411. end
  1412. end
  1413. end
  1414. end
  1415. end)
  1416. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Syndra Loaded</font>"))
  1417. end
  1418. -- Ekko
  1419. if GetObjectName(GetMyHero()) == "Ekko" then
  1420. --Menu
  1421. Config = scriptConfig("Ekko", "Ekko")
  1422. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1423. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1424. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1425. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1426. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1427. --Start
  1428. OnLoop(function(myHero)
  1429. local unit = GetCurrentTarget()
  1430. if GetCastName(myHero, _R) == "EkkoR" then
  1431. if Config.R then
  1432. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.2 and
  1433. CanUseSpell(myHero, _R) == READY and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  1434. CastTargetSpell(myHero,_R)
  1435. end
  1436. end
  1437. end
  1438. AutoIgnite()
  1439. if Config.Combo then
  1440. local unit = GetCurrentTarget()
  1441. if ValidTarget(unit, 1200) then
  1442.  
  1443. -- Q cast
  1444. if GetCastName(myHero, _Q) == "EkkoQ" then
  1445. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1075,50,false,true)
  1446. if Config.Q then
  1447. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  1448. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1449. end
  1450. end
  1451. end
  1452. -- W Cast
  1453. if GetCastName(myHero, _W) == "EkkoW" then
  1454. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1600,50,false,true)
  1455. if Config.W then
  1456. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  1457. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1458. end
  1459. end
  1460. end
  1461. -- E Cast Will cast E and if im correct then GoS will click champ and Ekko will blink Cast = 325 range Blink= 425
  1462. if GetCastName(myHero, _E) == "EkkoE" then
  1463. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,750,50,false,true)
  1464. if Config.E then
  1465. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  1466. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1467. end
  1468. end
  1469. end
  1470. -- R Cast Disabled till i manage how to Use R when low --THANKS SNOWBALL
  1471. if GetCastName(myHero, _R) == "EkkoR" then
  1472. if Config.R then
  1473. local ult = (GetCastLevel(myHero,_R)*150+50)+(GetBonusAP(myHero)*1.30)
  1474. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,325,50,false,true)
  1475. if CanUseSpell(myHero, _R) and IsInDistance(unit, 325) then
  1476. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  1477. CastSkillShot(_R,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1478. end
  1479. end
  1480. end
  1481. end
  1482. end
  1483. end
  1484. end)
  1485. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Ekko Loaded</font>"))
  1486. end
  1487. --Nidalee
  1488. if GetObjectName(GetMyHero()) == "Nidalee" then
  1489. --Menu
  1490. Config = scriptConfig("Nidalee", "Nidalee")
  1491. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1492. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1493. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1494. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1495. Config.addParam("Q2", "Use Q2", SCRIPT_PARAM_ONOFF, true)
  1496. Config.addParam("W2", "Use W2", SCRIPT_PARAM_ONOFF, true)
  1497. Config.addParam("E2", "Use E2", SCRIPT_PARAM_ONOFF, true)
  1498. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1499. --Start
  1500. OnLoop(function(myHero)
  1501. -- Nidalee human heal --THANKS SNOWBALL
  1502. if GetCastName(myHero, _E) == "PrimalSurge" then
  1503. if Config.E then
  1504. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.2 and
  1505. CanUseSpell(myHero, _E) == READY and IsObjectAlive(myHero) then
  1506. CastTargetSpell(myHero,_E)
  1507. end
  1508. end
  1509. end
  1510. AutoIgnite()
  1511. if Config.Combo then
  1512. local unit = GetCurrentTarget()
  1513. if ValidTarget(unit, 1500) then
  1514.  
  1515. -- Nidalee Human Trap
  1516. if GetCastName(myHero, _W) == "Bushwhack" then
  1517. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,true,true)
  1518. if Config.W then
  1519. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  1520. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1521. end
  1522. end
  1523. end
  1524. -- Nidalee human spear
  1525. if GetCastName(myHero, _Q) == "JavelinToss"then
  1526. -- GetPredictionForPlayer(startPosition, targetUnit, targetUnitMoveSpeed, spellTravelSpeed, spellDelay, spellRange, spellWidth, collision, addHitBox)
  1527. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,true,true)
  1528. if Config.Q then
  1529. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  1530. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1531. end
  1532. end
  1533. end
  1534. -- Tansform to cougar
  1535. if GetCastName(myHero, _R) == "AspectOfTheCougar" then
  1536. if Config.R then
  1537. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.6 and
  1538. CanUseSpell(myHero, _R) == READY and CanUseSpell(myHero, _W) == READY and CanUseSpell(myHero, _Q) ~= READY and IsInDistance(unit, 750) then
  1539. CastTargetSpell(myHero, _R)
  1540. end
  1541. end
  1542. end
  1543. -- Cougar attack Q
  1544. if GetCastName(myHero, _Q) == "Takedown" then
  1545. if Config.Q2 then
  1546. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 475) then
  1547. CastTargetSpell(unit, _Q)
  1548. end
  1549. end
  1550. end
  1551. -- Cougar pounce W
  1552. if GetCastName(myHero, _W) == "Pounce" then
  1553. if Config.W2 then
  1554. if CanUseSpell(myHero, _W) == READY and IsInDistance(unit, 375) then
  1555. CastTargetSpell(unit, _W)
  1556. end
  1557. end
  1558. end
  1559. -- E cast in cougar form
  1560. if GetCastName(myHero, _E) == "Swipe" then
  1561. if Config.E2 then
  1562. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 300) then
  1563. CastTargetSpell(unit, _E)
  1564. end
  1565. end
  1566. end
  1567. -- Transform back
  1568. if GetCastName(myHero, _R) == "AspectOfTheCougar" then
  1569. if Config.R then
  1570. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.6 and
  1571. CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 750) and GotBuff(myHero, "nidaleepassivehunting") == 1 then
  1572. CastSpell(_R)
  1573. end
  1574. end
  1575. end
  1576. end
  1577.  
  1578. end
  1579. end)
  1580. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Nidalee Loaded</font>"))
  1581. end
  1582. -- Graves
  1583. if GetObjectName(GetMyHero()) == "Graves" then
  1584. --Menu
  1585. Config = scriptConfig("Graves", "Graves")
  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. AutoIgnite()
  1594. if Config.Combo then
  1595. local unit = GetCurrentTarget()
  1596. local mymouse = GetMousePos()
  1597. if ValidTarget(unit, 1200) then
  1598.  
  1599. -- Q cast
  1600. if GetCastName(myHero, _Q) == "GravesClusterShot" then
  1601. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,false,true)
  1602. if Config.Q then
  1603. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  1604. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1605. end
  1606. end
  1607. end
  1608. -- W Cast
  1609. if GetCastName(myHero, _W) == "GravesSmokeGrenade" then
  1610. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1600,50,false,true)
  1611. if Config.W then
  1612. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  1613. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1614. end
  1615. end
  1616. end
  1617. -- E Cast
  1618. if GetCastName(myHero, _E) == "GravesMove" then
  1619. if Config.E then
  1620. CastSkillShot(_E, GetMousePos().x, GetMousePos().y, GetMousePos().z)
  1621. end
  1622. end
  1623. -- R Cast
  1624. if GetCastName(myHero, _R) == "GravesChargedShot" then
  1625. if Config.R then
  1626. local ult = (GetCastLevel(myHero,_R)*150+150)+(GetBonusDmg(myHero)*1.50)
  1627. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1000,50,true,true)
  1628. if CanUseSpell(myHero_R) == READY and RPred.HitChance == 1 and IsInDistance(target, GetCastRange(myHero,_R)) then
  1629. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  1630. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  1631. end
  1632. end
  1633. end
  1634. end
  1635.  
  1636. end
  1637. end
  1638. end)
  1639. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Graves Loaded</font>"))
  1640. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement