Advertisement
Cloudhax23

Untitled

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