Advertisement
Cloudhax23

Untitled

Aug 12th, 2015
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 64.54 KB | None | 0 0
  1. --Version 3.4 Vi and Ireila Q farm.
  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. local z = (GetCastLevel(myHero,_Q)*30)+(GetBonusDmg(myHero)*1.9)
  998. local hp = GetCurrentHP(Q)
  999. local Dmg = CalcDamage(myHero, Q, z)
  1000. if Dmg > hp then
  1001. if CanUseSpell(myHero, _Q) == READY then
  1002. CastTargetSpell(Q,_Q)
  1003. end
  1004. end
  1005. end
  1006. end
  1007. end
  1008. end)
  1009. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Irelia Loaded</font>"))
  1010. end
  1011.  
  1012. --Evelynn
  1013. if GetObjectName(GetMyHero()) == "Evelynn" then
  1014. --Menu
  1015. Config = scriptConfig("Evelynn", "Evelynn")
  1016. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1017. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1018. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1019. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1020. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1021. --Start
  1022. OnLoop(function(myHero)
  1023. AutoIgnite()
  1024. if Config.Combo then
  1025. local unit = GetCurrentTarget()
  1026. if ValidTarget(unit, 1550) then
  1027.  
  1028. -- Evelynn W
  1029. if Config.W then
  1030. if GetCastName(myHero, _W) == "EvelynnW" then
  1031. if CanUseSpell(myHero, _W) == READY then
  1032. CastTargetSpell(myHero,_W)
  1033. end
  1034. end
  1035. end
  1036. -- Evelynn Q
  1037. if Config.Q then
  1038. if GetCastName(myHero, _Q) == "EvelynnQ" then
  1039. if CanUseSpell(myHero, _Q) == READY then
  1040. CastTargetSpell(myHero,_Q)
  1041. end
  1042. end
  1043. end
  1044. -- Evelynn E
  1045. if Config.E then
  1046. if GetCastName(myHero, _E) == "EvelynnE" then
  1047. if CanUseSpell(myHero, _E) == READY then
  1048. CastTargetSpell(unit,_E)
  1049. end
  1050. end
  1051. end
  1052. -- Evelynn R
  1053. if Config.R then
  1054. if GetCastName(myHero, _R) == "EvelynnR" then
  1055. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,650,55,false,true)
  1056. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  1057. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  1058. end
  1059. end
  1060. end
  1061. end
  1062. end
  1063. end)
  1064. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Evelynn Loaded</font>"))
  1065. end
  1066.  
  1067. --Akali
  1068. if GetObjectName(GetMyHero()) == "Akali" then
  1069. --Menu
  1070. Config = scriptConfig("Akali", "Akali")
  1071. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1072. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1073. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1074. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1075. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1076. --Start
  1077. OnLoop(function(myHero)
  1078. AutoIgnite()
  1079. if Config.Combo then
  1080. local unit = GetCurrentTarget()
  1081. if ValidTarget(unit, 1550) then
  1082. if Config.Q then
  1083. if GetCastName(myHero, _Q) == "AkaliMota" then
  1084. if CanUseSpell(myHero, _Q) == READY then
  1085. CastTargetSpell(unit,_Q)
  1086. end
  1087. end
  1088. end
  1089. -- Akali E
  1090. if Config.E then
  1091. if GetCastName(myHero, _E) == "AkaliShadowSwipe" then
  1092. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,325,55,false,true)
  1093. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 325) then
  1094. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1095. end
  1096. end
  1097. -- Akali W
  1098. if Config.W then
  1099. if GetCastName(myHero, _W) == "AkaliSmokeBomb" then
  1100. if CanUseSpell(myHero, _W) == READY then
  1101. CastTargetSpell(unit,_W)
  1102. end
  1103. end
  1104. end
  1105. -- Akali R
  1106. if Config.R then
  1107. if GetCastName(myHero, _R) == "AkaliShadowDance" then
  1108. if CanUseSpell(myHero, _R) == READY then
  1109. CastTargetSpell(unit,_R)
  1110. end
  1111. end
  1112. end
  1113. end
  1114. end
  1115. end
  1116. end)
  1117. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Akali Loaded</font>"))
  1118. end
  1119.  
  1120. --Menu
  1121. if GetObjectName(GetMyHero()) == "Azir" then
  1122. --Azir
  1123. Config = scriptConfig("Azir", "Azir")
  1124. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1125. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1126. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1127. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1128. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1129. --Start
  1130. OnLoop(function(myHero)
  1131. AutoIgnite()
  1132. if Config.Combo then
  1133. local unit = GetCurrentTarget()
  1134. if ValidTarget(unit, 1550) then
  1135.  
  1136. -- Azir W
  1137. if Config.W then
  1138. if GetCastName(myHero, _W) == "AzirW" then
  1139. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,850,55,false,true)
  1140. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  1141. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1142. end
  1143. end
  1144. end
  1145. -- Azir Q
  1146. if Config.Q then
  1147. if GetCastName(myHero, _Q) == "AzirQ" then
  1148. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  1149. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  1150. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1151. end
  1152. end
  1153. end
  1154. -- Azir E
  1155. if Config.E then
  1156. if GetCastName(myHero, _E) == "AzirE" then
  1157. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,850,50,false,true)
  1158. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  1159. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1160. end
  1161. end
  1162. end
  1163. -- Azir R
  1164. if Config.R then
  1165. if GetCastName(myHero, _R) == "AzirR" then
  1166. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,250,55,false,true)
  1167. local ult = (GetCastLevel(myHero,_R)*75)+(GetBonusAP(myHero)*.6)
  1168. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) or (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.27 and CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 250) then
  1169. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  1170. end
  1171. end
  1172. end
  1173. end
  1174. end
  1175. end)
  1176. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Azir Loaded</font>"))
  1177. end
  1178.  
  1179. --Viktor
  1180. if GetObjectName(GetMyHero()) == "Viktor" then
  1181. --Menu
  1182. Config = scriptConfig("Viktor", "Viktor")
  1183. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1184. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1185. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1186. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1187. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1188. --Start
  1189. OnLoop(function(myHero)
  1190. AutoIgnite()
  1191. if Config.Combo then
  1192. local unit = GetCurrentTarget()
  1193. if ValidTarget(unit, 1550) then
  1194.  
  1195. -- Viktor W
  1196. if Config.W then
  1197. if GetCastName(myHero, _W) == "ViktorGravitonField" then
  1198. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,700,55,false,true)
  1199. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  1200. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1201. end
  1202. end
  1203. end
  1204. -- Viktor Q
  1205. if Config.Q then
  1206. if GetCastName(myHero, _Q) == "ViktorPowerTransfer" then
  1207. if CanUseSpell(myHero, _Q) == READY then
  1208. CastTargetSpell(unit,_Q)
  1209. end
  1210. end
  1211. end
  1212. -- Viktor E
  1213. local myorigin = GetOrigin(unit)
  1214. local mymouse = GetCastRange(myHero,_E)
  1215. if Config.E then
  1216. if GetCastName(myHero, _E) == "ViktorDeathRay" then
  1217. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  1218. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 1500) then
  1219. CastSkillShot3(_E,myorigin,myorigin)
  1220. end
  1221. end
  1222. end
  1223. -- Viktor R
  1224. if Config.R then
  1225. if GetCastName(myHero, _R) == "ViktorChaosStorm" then
  1226. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,700,55,false,true)
  1227. local ult = (GetCastLevel(myHero,_R)*200+25)+(GetBonusDmg(myHero)*1.25)
  1228. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  1229. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  1230. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  1231. end
  1232. end
  1233. end
  1234. end
  1235. end
  1236. end
  1237. end)
  1238. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Viktor Loaded</font>"))
  1239. end
  1240. -- VelKoz
  1241. if GetObjectName(GetMyHero()) == "Velkoz" then
  1242. --Menu
  1243. Config = scriptConfig("VelKoz", "VelKoz")
  1244. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1245. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1246. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1247. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1248. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1249. --Start
  1250. OnLoop(function(myHero)
  1251. AutoIgnite()
  1252. if Config.Combo then
  1253. local unit = GetCurrentTarget()
  1254. if ValidTarget(unit, 1550) then
  1255.  
  1256. -- Velkoz E
  1257. if Config.E then
  1258. if GetCastName(myHero, _E) == "VelkozE" then
  1259. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,850,50,false,true)
  1260. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  1261. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1262. end
  1263. end
  1264. end
  1265.  
  1266. -- Velkoz W
  1267. if Config.W then
  1268. if GetCastName(myHero, _W) == "VelkozW" then
  1269. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  1270. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 and IsInDistance(unit, 1500) then
  1271. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1272. end
  1273. end
  1274. end
  1275. -- Velkoz Q
  1276. if Config.Q then
  1277. if GetCastName(myHero, _Q) == "VelkozQ" then
  1278. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1050,55,true,true)
  1279. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  1280. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1281. end
  1282. end
  1283. end
  1284. -- Velkoz R
  1285. if Config.R then
  1286. if GetCastName(myHero, _R) == "VelkozR" then
  1287. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  1288. local ult = (GetCastLevel(myHero,_R)*200)+(GetBonusDmg(myHero)*.6)
  1289. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  1290. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  1291. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  1292. end
  1293. end
  1294. end
  1295. end
  1296. end
  1297. end
  1298. end)
  1299. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Velkoz Loaded</font>"))
  1300. end
  1301.  
  1302. if GetObjectName(GetMyHero()) == "Syndra" then
  1303. --Menu
  1304. Config = scriptConfig("Syndra", "Syndra")
  1305. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1306. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1307. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1308. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1309. Config.addParam("Stun", "Press to Stun", SCRIPT_PARAM_KEYDOWN, string.byte("T")) --Maxxel logic
  1310. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1311. --Start
  1312. OnLoop(function(myHero)
  1313. AutoIgnite()
  1314. if Config.Combo then
  1315. local unit = GetCurrentTarget()
  1316. if ValidTarget(unit, 1200) then
  1317.  
  1318. -- Syndra Q cast
  1319. if GetCastName(myHero, _Q) == "SyndraQ" then
  1320. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,800,50,true,true)
  1321. if Config.Q then
  1322. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  1323. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1324. end
  1325. end
  1326. end
  1327.  
  1328. -- Syndra cast W on Minion
  1329. if GetCastName(myHero, _W) == "SyndraW" then
  1330. if Config.W then
  1331. if CanUseSpell(myHero, _W) == READY then
  1332. CastTargetSpell(Obj_AI_Minion, _W)
  1333. end
  1334. end
  1335. end
  1336. -- Syndra cast W at Enemy
  1337. if GetCastName(myHero, _W) == "SyndraW" then
  1338. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,925,50,true,true)
  1339. if Config.W then
  1340. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  1341. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1342. end
  1343. end
  1344. end
  1345. -- Syndra PUSH
  1346. if GetCastName(myHero, _E) == "SyndraE" then
  1347. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,700,50,true,true)
  1348. if Config.E then
  1349. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  1350. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1351. end
  1352. end
  1353. end
  1354. -- Syndra Ultimate
  1355. if GetCastName(myHero, _R) == "SyndraR" then
  1356. if Config.R then
  1357. if unit ~= nil then
  1358. local ult = (GetCastLevel(myHero,_R)*135)+(GetBonusAP(myHero)*.6)
  1359. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 675) then
  1360. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  1361. CastTargetSpell(unit, _R)
  1362. end
  1363. end
  1364. end
  1365. end
  1366. end
  1367. local unit = GetCurrentTarget() --Maxxxel logic
  1368. local myHeroPos = GetOrigin(myHero)
  1369. DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z,1200,2,0,0xffff0000)
  1370. if Config.Stun then
  1371. if ValidTarget(unit,1200) then
  1372. local timea
  1373. local distanceStun=0
  1374. if timea~=nil and CanUseSpell(myHero, _Q) ~= READY and CanUseSpell(myHero, _E) ~= READY then
  1375. timea=nil
  1376. end
  1377. ---Values---
  1378. local enemyposition = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1200,50,true,true)
  1379. enemyposx=enemyposition.PredPos.x
  1380. enemyposy=enemyposition.PredPos.y
  1381. enemyposz=enemyposition.PredPos.z
  1382. local TargetPos = Vector(enemyposx,enemyposy,enemyposz)
  1383. if GetDistance(unit)>=700 then
  1384. distanceStun=GetDistance(unit)-700
  1385. end
  1386. if GetDistance(unit)<700 then
  1387. distanceStun=0
  1388. end
  1389. local firePos = TargetPos-(TargetPos-myHeroPos)*(distanceStun/GetDistance(unit))
  1390. local dPredict = GetDistance(myHero,firePosPoint)
  1391. ---Values end---
  1392. if CanUseSpell(myHero, _Q) == READY and CanUseSpell(myHero, _E) == READY and timea==nil then
  1393. if dPredict < 1200 then
  1394. CastSkillShot(_Q,firePos.x,0,firePos.z)
  1395. timea = GetTickCount()
  1396. end
  1397. end
  1398. if CanUseSpell(myHero, _E) == READY and timea~=GetTickCount() then
  1399. CastSkillShot(_E,firePos.x,0,firePos.z)
  1400. end
  1401. end
  1402. Move()
  1403. end
  1404.  
  1405. function Move()
  1406. local movePos = GenerateMovePos()
  1407. if GetDistance(GetMousePos()) > GetHitBox(myHero) then
  1408. MoveToXYZ(movePos.x, 0, movePos.z)
  1409. end
  1410. end
  1411. end
  1412. end
  1413. end)
  1414. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Syndra Loaded</font>"))
  1415. end
  1416. -- Ekko
  1417. if GetObjectName(GetMyHero()) == "Ekko" then
  1418. --Menu
  1419. Config = scriptConfig("Ekko", "Ekko")
  1420. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1421. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1422. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1423. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1424. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1425. --Start
  1426. OnLoop(function(myHero)
  1427. local unit = GetCurrentTarget()
  1428. if GetCastName(myHero, _R) == "EkkoR" then
  1429. if Config.R then
  1430. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.2 and
  1431. CanUseSpell(myHero, _R) == READY and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  1432. CastTargetSpell(myHero,_R)
  1433. end
  1434. end
  1435. end
  1436. AutoIgnite()
  1437. if Config.Combo then
  1438. local unit = GetCurrentTarget()
  1439. if ValidTarget(unit, 1200) then
  1440.  
  1441. -- Q cast
  1442. if GetCastName(myHero, _Q) == "EkkoQ" then
  1443. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1075,50,false,true)
  1444. if Config.Q then
  1445. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  1446. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1447. end
  1448. end
  1449. end
  1450. -- W Cast
  1451. if GetCastName(myHero, _W) == "EkkoW" then
  1452. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1600,50,false,true)
  1453. if Config.W then
  1454. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  1455. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1456. end
  1457. end
  1458. end
  1459. -- E Cast Will cast E and if im correct then GoS will click champ and Ekko will blink Cast = 325 range Blink= 425
  1460. if GetCastName(myHero, _E) == "EkkoE" then
  1461. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,750,50,false,true)
  1462. if Config.E then
  1463. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  1464. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1465. end
  1466. end
  1467. end
  1468. -- R Cast Disabled till i manage how to Use R when low --THANKS SNOWBALL
  1469. if GetCastName(myHero, _R) == "EkkoR" then
  1470. if Config.R then
  1471. local ult = (GetCastLevel(myHero,_R)*150+50)+(GetBonusAP(myHero)*1.30)
  1472. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,325,50,false,true)
  1473. if CanUseSpell(myHero, _R) and IsInDistance(unit, 325) then
  1474. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  1475. CastSkillShot(_R,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1476. end
  1477. end
  1478. end
  1479. end
  1480. end
  1481. end
  1482. end)
  1483. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Ekko Loaded</font>"))
  1484. end
  1485. --Nidalee
  1486. if GetObjectName(GetMyHero()) == "Nidalee" then
  1487. --Menu
  1488. Config = scriptConfig("Nidalee", "Nidalee")
  1489. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1490. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1491. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1492. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1493. Config.addParam("Q2", "Use Q2", SCRIPT_PARAM_ONOFF, true)
  1494. Config.addParam("W2", "Use W2", SCRIPT_PARAM_ONOFF, true)
  1495. Config.addParam("E2", "Use E2", SCRIPT_PARAM_ONOFF, true)
  1496. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1497. --Start
  1498. OnLoop(function(myHero)
  1499. -- Nidalee human heal --THANKS SNOWBALL
  1500. if GetCastName(myHero, _E) == "PrimalSurge" then
  1501. if Config.E then
  1502. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.2 and
  1503. CanUseSpell(myHero, _E) == READY and IsObjectAlive(myHero) then
  1504. CastTargetSpell(myHero,_E)
  1505. end
  1506. end
  1507. end
  1508. AutoIgnite()
  1509. if Config.Combo then
  1510. local unit = GetCurrentTarget()
  1511. if ValidTarget(unit, 1500) then
  1512.  
  1513. -- Nidalee Human Trap
  1514. if GetCastName(myHero, _W) == "Bushwhack" then
  1515. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,true,true)
  1516. if Config.W then
  1517. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  1518. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1519. end
  1520. end
  1521. end
  1522. -- Nidalee human spear
  1523. if GetCastName(myHero, _Q) == "JavelinToss"then
  1524. -- GetPredictionForPlayer(startPosition, targetUnit, targetUnitMoveSpeed, spellTravelSpeed, spellDelay, spellRange, spellWidth, collision, addHitBox)
  1525. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,true,true)
  1526. if Config.Q then
  1527. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  1528. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1529. end
  1530. end
  1531. end
  1532. -- Tansform to cougar
  1533. if GetCastName(myHero, _R) == "AspectOfTheCougar" then
  1534. if Config.R then
  1535. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.6 and
  1536. CanUseSpell(myHero, _R) == READY and CanUseSpell(myHero, _W) == READY and CanUseSpell(myHero, _Q) ~= READY and IsInDistance(unit, 750) then
  1537. CastTargetSpell(myHero, _R)
  1538. end
  1539. end
  1540. end
  1541. -- Cougar attack Q
  1542. if GetCastName(myHero, _Q) == "Takedown" then
  1543. if Config.Q2 then
  1544. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 475) then
  1545. CastTargetSpell(unit, _Q)
  1546. end
  1547. end
  1548. end
  1549. -- Cougar pounce W
  1550. if GetCastName(myHero, _W) == "Pounce" then
  1551. if Config.W2 then
  1552. if CanUseSpell(myHero, _W) == READY and IsInDistance(unit, 375) then
  1553. CastTargetSpell(unit, _W)
  1554. end
  1555. end
  1556. end
  1557. -- E cast in cougar form
  1558. if GetCastName(myHero, _E) == "Swipe" then
  1559. if Config.E2 then
  1560. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 300) then
  1561. CastTargetSpell(unit, _E)
  1562. end
  1563. end
  1564. end
  1565. -- Transform back
  1566. if GetCastName(myHero, _R) == "AspectOfTheCougar" then
  1567. if Config.R then
  1568. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.6 and
  1569. CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 750) and GotBuff(myHero, "nidaleepassivehunting") == 1 then
  1570. CastSpell(_R)
  1571. end
  1572. end
  1573. end
  1574. end
  1575.  
  1576. end
  1577. end)
  1578. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Nidalee Loaded</font>"))
  1579. end
  1580. -- Graves
  1581. if GetObjectName(GetMyHero()) == "Graves" then
  1582. --Menu
  1583. Config = scriptConfig("Graves", "Graves")
  1584. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1585. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1586. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1587. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1588. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1589. --Start
  1590. OnLoop(function(myHero)
  1591. AutoIgnite()
  1592. if Config.Combo then
  1593. local unit = GetCurrentTarget()
  1594. local mymouse = GetMousePos()
  1595. if ValidTarget(unit, 1200) then
  1596.  
  1597. -- Q cast
  1598. if GetCastName(myHero, _Q) == "GravesClusterShot" then
  1599. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,false,true)
  1600. if Config.Q then
  1601. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  1602. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1603. end
  1604. end
  1605. end
  1606. -- W Cast
  1607. if GetCastName(myHero, _W) == "GravesSmokeGrenade" then
  1608. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1600,50,false,true)
  1609. if Config.W then
  1610. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  1611. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1612. end
  1613. end
  1614. end
  1615. -- E Cast
  1616. if GetCastName(myHero, _E) == "GravesMove" then
  1617. if Config.E then
  1618. CastSkillShot(_E, GetMousePos().x, GetMousePos().y, GetMousePos().z)
  1619. end
  1620. end
  1621. -- R Cast
  1622. if GetCastName(myHero, _R) == "GravesChargedShot" then
  1623. if Config.R then
  1624. local ult = (GetCastLevel(myHero,_R)*150+150)+(GetBonusDmg(myHero)*1.50)
  1625. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1000,50,true,true)
  1626. if CanUseSpell(myHero_R) == READY and RPred.HitChance == 1 and IsInDistance(target, GetCastRange(myHero,_R)) then
  1627. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  1628. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  1629. end
  1630. end
  1631. end
  1632. end
  1633.  
  1634. end
  1635. end
  1636. end)
  1637. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Graves Loaded</font>"))
  1638. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement