Advertisement
Cloudhax23

Untitled

Aug 17th, 2015
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 93.91 KB | None | 0 0
  1. --Version 4.8 Ziggs ult Viktor Ult fixed Syndra Fixed Velkoz ult fixed.
  2. myIAC = IAC()
  3.  
  4.  
  5.  
  6. if GetObjectName(GetMyHero()) == "Ziggs" then
  7. --Menu
  8. Config = scriptConfig("Ziggs", "Ziggs")
  9. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  10. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  11. Config.addParam("KsQ", "Use Q in KS", SCRIPT_PARAM_ONOFF, false)
  12. Config.addParam("KsW", "Use W in KS", SCRIPT_PARAM_ONOFF, false)
  13. Config.addParam("KsR", "Use R in KS", SCRIPT_PARAM_ONOFF, false)
  14. --Config.addParam("F", "LaneClear", SCRIPT_PARAM_ONOFF, true)
  15. --Config.addParam("J", "JungleClear", SCRIPT_PARAM_ONOFF, true)
  16. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  17. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  18. Config.addParam("H", "Use Q Harass", SCRIPT_PARAM_ONOFF, false)
  19. Config.addParam("Z", "Use E Harass", SCRIPT_PARAM_ONOFF, false)
  20. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  21. LevelConfig = scriptConfig("Level", "Auto Level")
  22. LevelConfig.addParam("L1","Max QE",SCRIPT_PARAM_ONOFF,false)
  23. DrawingsConfig = scriptConfig("Drawings", "Drawings")
  24. DrawingsConfig.addParam("DrawQ","Draw Q", SCRIPT_PARAM_ONOFF, true)
  25. DrawingsConfig.addParam("DrawW","Draw W", SCRIPT_PARAM_ONOFF, true)
  26. DrawingsConfig.addParam("DrawE","Draw E", SCRIPT_PARAM_ONOFF, true)
  27. --Start
  28. OnLoop(function(myHero)
  29. AutoIgnite()
  30. LevelUp()
  31. Harass()
  32. Killsteal()
  33. --LaneClear()
  34. --JungleClear()
  35. -- Ziggs Q
  36. if Config.Combo then
  37. local unit = GetCurrentTarget()
  38. if ValidTarget(unit, 1550) then
  39. -- Ziggs Q
  40.  
  41. if Config.Q then
  42. if GetCastName(myHero, _Q) == "ZiggsQ" then
  43. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero, _Q),50,true,true)
  44. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  45. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  46. end
  47. end
  48. end
  49. -- Ziggs E
  50. if GetCastName(myHero, _E) == "ZiggsE" then
  51. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,true,true)
  52. if Config.E then
  53. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  54. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  55. end
  56. end
  57. end
  58. -- Ziggs W
  59. if GetCastName(myHero, _W) == "ZiggsW" then
  60. if Config.W then
  61. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,5300,50,false,true)
  62. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.3 and
  63. CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  64. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  65. end
  66. end
  67. end
  68. -- Ziggs R
  69. if GetCastName(myHero, _R) == "ZiggsR" then
  70. if Config.R then
  71. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,5300,55,false,true)
  72. local ult = (GetCastLevel(myHero,_R)*100)+(GetBonusDmg(myHero)*1.5)
  73. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  74. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  75. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  76. end
  77. end
  78. end
  79. end
  80. end
  81. end
  82. end)
  83. function JungleClear()
  84. for _,Q in pairs(GetAllMinions(MINION_JUNGLE)) do
  85. if IsInDistance(Q, 650) then
  86. if Config.J then
  87. local QPred = GetPredictionForPlayer(GetMyHeroPos(),Q,GetMoveSpeed(Q),1700,250,800,50,false,true)
  88. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  89. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  90. end
  91. end
  92. if Config.Y then
  93. if CanUseSpell(myHero, _W) == READY then
  94. CastTargetSpell(Obj_AI_Minion, _W)
  95. end
  96. end
  97. -- Ziggs cast W at Enemy
  98. local WPred = GetPredictionForPlayer(GetMyHeroPos(),Q,GetMoveSpeed(Q),1700,250,925,50,false,true)
  99. if Config.Y then
  100. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  101. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  102. end
  103. end
  104. end
  105. end
  106. end
  107. function LevelUp()
  108. if LevelConfig.L1 then
  109. if GetLevel(myHero) == 1 then
  110. LevelSpell(_Q)
  111. elseif GetLevel(myHero) == 2 then
  112. LevelSpell(_E)
  113. elseif GetLevel(myHero) == 3 then
  114. LevelSpell(_W)
  115. elseif GetLevel(myHero) == 4 then
  116. LevelSpell(_Q)
  117. elseif GetLevel(myHero) == 5 then
  118. LevelSpell(_Q)
  119. elseif GetLevel(myHero) == 6 then
  120. LevelSpell(_R)
  121. elseif GetLevel(myHero) == 7 then
  122. LevelSpell(_Q)
  123. elseif GetLevel(myHero) == 8 then
  124. LevelSpell(_Q)
  125. elseif GetLevel(myHero) == 9 then
  126. LevelSpell(_E)
  127. elseif GetLevel(myHero) == 10 then
  128. LevelSpell(_E)
  129. elseif GetLevel(myHero) == 11 then
  130. LevelSpell(_R)
  131. elseif GetLevel(myHero) == 12 then
  132. LevelSpell(_E)
  133. elseif GetLevel(myHero) == 13 then
  134. LevelSpell(_E)
  135. elseif GetLevel(myHero) == 14 then
  136. LevelSpell(_W)
  137. elseif GetLevel(myHero) == 15 then
  138. LevelSpell(_W)
  139. elseif GetLevel(myHero) == 16 then
  140. LevelSpell(_R)
  141. elseif GetLevel(myHero) == 17 then
  142. LevelSpell(_W)
  143. elseif GetLevel(myHero) == 18 then
  144. LevelSpell(_W)
  145. end
  146. end
  147. end
  148. end
  149. function Killsteal()
  150. local unit = GetCurrentTarget()
  151. if ValidTarget(unit, 1550) then
  152. for i,enemy in pairs(GetEnemyHeroes()) do
  153. local z = ((GetCastLevel(myHero,_Q)*45)+(GetBonusAP(myHero)*1))
  154. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero, _Q),50,true,true)
  155. if CanUseSpell(myHero, _Q) == READY and ValidTarget(enemy,GetCastRange(myHero,_Q)) and Config.KsQ
  156. and CalcDamage(myHero, enemy, z) > GetCurrentHP(unit) then
  157. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  158. end
  159. end
  160. if GetCastName(myHero, _R) == "ZiggsR" then
  161. if Config.KsR then
  162. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,5300,55,false,true)
  163. local ult = (GetCastLevel(myHero,_R)*100)+(GetBonusDmg(myHero)*1.5)
  164. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  165. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  166. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  167. end
  168. end
  169. end
  170. end
  171. -- Ziggs cast W at Enemy
  172. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,925,50,true,true)
  173. if Config.KsW then
  174. local ult = (GetCastLevel(myHero,_R)*35)+(GetBonusAP(myHero)*.5)
  175. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 and CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  176. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  177. end
  178. end
  179. end
  180. end
  181. function LaneClear()
  182. if IWalkConfig.LaneClear then
  183. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  184. if IsInDistance(Q, 650) then
  185. if Config.F then
  186. local QPred = GetPredictionForPlayer(GetMyHeroPos(),Q,GetMoveSpeed(Q),1700,250,800,50,false,true)
  187. if CanUseSpell(myHero, _Q) == READY and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .45 then
  188. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  189. end
  190. end
  191. -- Ziggs cast W at Enemy
  192. local WPred = GetPredictionForPlayer(GetMyHeroPos(),Q,GetMoveSpeed(Q),1700,250,925,50,false,true)
  193. if Config.Y then
  194. if CanUseSpell(myHero, _W) == READY and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .45 then
  195. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  196. end
  197. end
  198. end
  199. end
  200. end
  201. end
  202.  
  203. function Harass()
  204. if IWalkConfig.Harass then
  205. if Config.H then
  206. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero, _Q),50,true,true)
  207. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .45 then
  208. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  209. end
  210. end
  211. if Config.Z then
  212. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,925,50,true,true)
  213. if CanUseSpell(myHero, _E) == READY and QPred.HitChance == 1 and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .45 then
  214. CastSkillShot(_E,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  215. end
  216. end
  217. end
  218. myHeroPos = GetOrigin(myHero)
  219. DrawCircle(9022, 52.840878, 4360,80,1,1,0xffffffff)
  220. DrawCircle(12060, 51, 4806,80,1,1,0xffffffff)
  221. if CanUseSpell(myHero, _Q) == READY and DrawingsConfig.DrawQ then DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z,GetCastRange(myHero,_Q),3,100,0xffff00ff) end
  222. if CanUseSpell(myHero, _E) == READY and DrawingsConfig.DrawE then DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z, GetCastRange(myHero,_E) ,3,100,0xffff00ff) end
  223. if CanUseSpell(myHero, _W) == READY and DrawingsConfig.DrawW then DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z,GetCastRange(myHero,_W),3,100,0xffff00ff) end
  224. end
  225. if GetObjectName(GetMyHero()) == "Syndra" then
  226. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Syndra Loaded</font>"))
  227. --Menu
  228. Config = scriptConfig("Syndra", "Syndra")
  229. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  230. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  231. Config.addParam("KsQ", "Use Q in KS", SCRIPT_PARAM_ONOFF, true)
  232. Config.addParam("KsW", "Use W in KS", SCRIPT_PARAM_ONOFF, true)
  233. Config.addParam("KsR", "Use R in KS", SCRIPT_PARAM_ONOFF, true)
  234. --Config.addParam("F", "LaneClear", SCRIPT_PARAM_ONOFF, true)
  235. --Config.addParam("J", "JungleClear", SCRIPT_PARAM_ONOFF, true)
  236. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  237. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  238. Config.addParam("H", "Use Q Harass", SCRIPT_PARAM_ONOFF, true)
  239. Config.addParam("Y", "Use W Harass", SCRIPT_PARAM_ONOFF, true)
  240. Config.addParam("Stun", "Press to Stun", SCRIPT_PARAM_KEYDOWN, string.byte("T")) --Maxxel logic
  241. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  242. LevelConfig = scriptConfig("Level", "Auto Level")
  243. LevelConfig.addParam("L1","Max EQ",SCRIPT_PARAM_ONOFF,false)
  244. DrawingsConfig = scriptConfig("Drawings", "Drawings")
  245. DrawingsConfig.addParam("DrawQ","Draw Q", SCRIPT_PARAM_ONOFF, true)
  246. DrawingsConfig.addParam("DrawW","Draw W", SCRIPT_PARAM_ONOFF, true)
  247. DrawingsConfig.addParam("DrawE","Draw E", SCRIPT_PARAM_ONOFF, true)
  248. DrawingsConfig.addParam("DrawR","Draw R", SCRIPT_PARAM_ONOFF, true)
  249. --Start
  250. OnLoop(function(myHero)
  251. AutoIgnite()
  252. Stun()
  253. LevelUp()
  254. Harass()
  255.  
  256. Killsteal()
  257. --LaneClear()
  258. --JungleClear()
  259. if Config.Combo then
  260. local unit = GetCurrentTarget()
  261. if ValidTarget(unit, 1200) then
  262.  
  263. -- Syndra Q cast
  264. if GetCastName(myHero, _Q) == "SyndraQ" then
  265. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,800,50,false,true)
  266. if Config.Q then
  267. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  268. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  269. end
  270. end
  271. end
  272.  
  273. -- Syndra cast W on Minion
  274. if GetCastName(myHero, _W) == "SyndraW" then
  275. if Config.W then
  276. if CanUseSpell(myHero, _W) == READY then
  277. CastTargetSpell(Obj_AI_Minion, _W)
  278. end
  279. end
  280. end
  281. -- Syndra cast W at Enemy
  282. if GetCastName(myHero, _W) == "SyndraW" then
  283. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,925,50,true,true)
  284. if Config.W then
  285. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  286. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  287. end
  288. end
  289. end
  290. -- Syndra PUSH
  291. if GetCastName(myHero, _E) == "SyndraE" then
  292. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,700,50,true,true)
  293. if Config.E then
  294. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  295. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  296. end
  297. end
  298. end
  299. -- Syndra Ultimate
  300. if GetCastName(myHero, _R) == "SyndraR" then
  301. if Config.R then
  302. if unit ~= nil then
  303. local ult = (GetCastLevel(myHero,_R)*135)+(GetBonusAP(myHero)*.6)
  304. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 675) then
  305. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  306. CastTargetSpell(unit, _R)
  307. end
  308. end
  309. end
  310. end
  311. end
  312.  
  313. end
  314. end
  315. end)
  316. function JungleClear()
  317. for _,Q in pairs(GetAllMinions(MINION_JUNGLE)) do
  318. if IsInDistance(Q, 650) then
  319. if Config.J then
  320. if GetCastName(myHero, _Q) == "SyndraQ" then
  321. local QPred = GetPredictionForPlayer(GetMyHeroPos(),Q,GetMoveSpeed(Q),1700,250,800,50,false,true)
  322. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  323. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  324. end
  325. end
  326. end
  327. if GetCastName(myHero, _W) == "SyndraW" then
  328. if Config.Y then
  329. if CanUseSpell(myHero, _W) == READY then
  330. CastTargetSpell(Obj_AI_Minion, _W)
  331. end
  332. end
  333. end
  334. -- Syndra cast W at Enemy
  335. if GetCastName(myHero, _W) == "SyndraW" then
  336. local WPred = GetPredictionForPlayer(GetMyHeroPos(),Q,GetMoveSpeed(Q),1700,250,925,50,false,true)
  337. if Config.Y then
  338. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  339. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  340. end
  341. end
  342. end
  343. end
  344. end
  345. end
  346. function LevelUp()
  347. if LevelConfig.L1 then
  348. if GetLevel(myHero) == 1 then
  349. LevelSpell(_Q)
  350. elseif GetLevel(myHero) == 2 then
  351. LevelSpell(_W)
  352. elseif GetLevel(myHero) == 3 then
  353. LevelSpell(_E)
  354. elseif GetLevel(myHero) == 4 then
  355. LevelSpell(_Q)
  356. elseif GetLevel(myHero) == 5 then
  357. LevelSpell(_Q)
  358. elseif GetLevel(myHero) == 6 then
  359. LevelSpell(_R)
  360. elseif GetLevel(myHero) == 7 then
  361. LevelSpell(_Q)
  362. elseif GetLevel(myHero) == 8 then
  363. LevelSpell(_Q)
  364. elseif GetLevel(myHero) == 9 then
  365. LevelSpell(_W)
  366. elseif GetLevel(myHero) == 10 then
  367. LevelSpell(_W)
  368. elseif GetLevel(myHero) == 11 then
  369. LevelSpell(_R)
  370. elseif GetLevel(myHero) == 12 then
  371. LevelSpell(_W)
  372. elseif GetLevel(myHero) == 13 then
  373. LevelSpell(_E)
  374. elseif GetLevel(myHero) == 14 then
  375. LevelSpell(_E)
  376. elseif GetLevel(myHero) == 15 then
  377. LevelSpell(_E)
  378. elseif GetLevel(myHero) == 16 then
  379. LevelSpell(_R)
  380. elseif GetLevel(myHero) == 17 then
  381. LevelSpell(_E)
  382. elseif GetLevel(myHero) == 18 then
  383. LevelSpell(_E)
  384. end
  385. end
  386. end
  387. end
  388. function Killsteal()
  389. local unit = GetCurrentTarget()
  390. if ValidTarget(unit, 1550) then
  391. for i,enemy in pairs(GetEnemyHeroes()) do
  392. local z = ((GetCastLevel(myHero,_Q)*45)+(GetBonusAP(myHero)*1.6))
  393. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,800,50,true,true)
  394. if CanUseSpell(myHero, _Q) == READY and ValidTarget(enemy,GetCastRange(myHero,_Q)) and Config.KsQ
  395. and CalcDamage(myHero, enemy, z) > GetCurrentHP(unit) then
  396. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  397. end
  398. end
  399. if GetCastName(myHero, _R) == "SyndraR" then
  400. if Config.KsR then
  401. if unit ~= nil then
  402. local ult = (GetCastLevel(myHero,_R)*135)+(GetBonusAP(myHero)*1.5)
  403. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 675) then
  404. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  405. CastTargetSpell(unit, _R)
  406. end
  407. end
  408. end
  409. end
  410. end
  411. if GetCastName(myHero, _W) == "SyndraW" then
  412. if Config.KsW then
  413. local ult = (GetCastLevel(myHero,_R)*40)+(GetBonusAP(myHero)*1)
  414. if CanUseSpell(myHero, _W) == READY then if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  415. CastTargetSpell(Obj_AI_Minion, _W)
  416. end
  417. end
  418. end
  419. end
  420. -- Syndra cast W at Enemy
  421. if GetCastName(myHero, _W) == "SyndraW" then
  422. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,925,50,true,true)
  423. if Config.KsW then
  424. local ult = (GetCastLevel(myHero,_R)*40)+(GetBonusAP(myHero)*1)
  425.  
  426. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  427. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  428. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  429. end
  430. end
  431. end
  432. end
  433. end
  434. end
  435. function Stun()
  436. local unit = GetCurrentTarget() --Maxxxel logic
  437. local myHeroPos = GetOrigin(myHero)
  438. if Config.Stun then
  439. if ValidTarget(unit,1200) then
  440. local timea
  441. local distanceStun=0
  442. if timea~=nil and CanUseSpell(myHero, _Q) ~= READY and CanUseSpell(myHero, _E) ~= READY then
  443. timea=nil
  444. end
  445. ---Values---
  446. local enemyposition = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1200,50,true,true)
  447. enemyposx=enemyposition.PredPos.x
  448. enemyposy=enemyposition.PredPos.y
  449. enemyposz=enemyposition.PredPos.z
  450. local TargetPos = Vector(enemyposx,enemyposy,enemyposz)
  451. if GetDistance(unit)>=700 then
  452. distanceStun=GetDistance(unit)-700
  453. end
  454. if GetDistance(unit)<700 then
  455. distanceStun=0
  456. end
  457. local firePos = TargetPos-(TargetPos-myHeroPos)*(distanceStun/GetDistance(unit))
  458. local dPredict = GetDistance(myHero,firePosPoint)
  459. ---Values end---
  460. if CanUseSpell(myHero, _Q) == READY and CanUseSpell(myHero, _E) == READY and timea==nil then
  461. if dPredict < 1200 then
  462. CastSkillShot(_Q,firePos.x,0,firePos.z)
  463. timea = GetTickCount()
  464. end
  465. end
  466. if CanUseSpell(myHero, _E) == READY and timea~=GetTickCount() then
  467. CastSkillShot(_E,firePos.x,0,firePos.z)
  468. end
  469. end
  470. Move()
  471. end
  472. end
  473. function Move()
  474. local movePos = GenerateMovePos()
  475. if GetDistance(GetMousePos()) > GetHitBox(myHero) then
  476. MoveToXYZ(movePos.x, 0, movePos.z)
  477. end
  478. end
  479. function LaneClear()
  480. if IWalkConfig.LaneClear then
  481. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  482. if IsInDistance(Q, 650) then
  483. if Config.F then
  484. if GetCastName(myHero, _Q) == "SyndraQ" then
  485. local QPred = GetPredictionForPlayer(GetMyHeroPos(),Q,GetMoveSpeed(Q),1700,250,800,50,false,true)
  486. if CanUseSpell(myHero, _Q) == READY and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .45 then
  487. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  488. end
  489. end
  490. end
  491. if GetCastName(myHero, _W) == "SyndraW" then
  492. if Config.Y then
  493. if CanUseSpell(myHero, _W) == READY and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .45 then
  494. CastTargetSpell(Obj_AI_Minion, _W)
  495. end
  496. end
  497. end
  498. -- Syndra cast W at Enemy
  499. if GetCastName(myHero, _W) == "SyndraW" then
  500. local WPred = GetPredictionForPlayer(GetMyHeroPos(),Q,GetMoveSpeed(Q),1700,250,925,50,false,true)
  501. if Config.Y then
  502. if CanUseSpell(myHero, _W) == READY and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .45 then
  503. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  504. end
  505. end
  506. end
  507. end
  508. end
  509. end
  510. end
  511.  
  512. function Harass()
  513. if IWalkConfig.Harass then
  514. if Config.H then
  515. if GetCastName(myHero, _Q) == "SyndraQ" then
  516. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,800,50,true,true)
  517. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .45 then
  518. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  519. end
  520. end
  521. end
  522. if GetCastName(myHero, _W) == "SyndraW" then
  523. if Config.Y then
  524. if CanUseSpell(myHero, _W) == READY and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .45 then
  525. CastTargetSpell(Obj_AI_Minion, _W)
  526. end
  527. end
  528. end
  529. -- Syndra cast W at Enemy
  530. if GetCastName(myHero, _W) == "SyndraW" then
  531. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,925,50,true,true)
  532. if Config.Y then
  533. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .45 then
  534. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  535. end
  536. end
  537. end
  538. end
  539. myHeroPos = GetOrigin(myHero)
  540. DrawCircle(9022, 52.840878, 4360,80,1,1,0xffffffff)
  541. DrawCircle(12060, 51, 4806,80,1,1,0xffffffff)
  542. if CanUseSpell(myHero, _Q) == READY and DrawingsConfig.DrawQ then DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z,GetCastRange(myHero,_Q),3,100,0xffff00ff) end
  543. if CanUseSpell(myHero, _E) == READY and DrawingsConfig.DrawE then DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z, GetCastRange(myHero,_E) ,3,100,0xffff00ff) end
  544. if CanUseSpell(myHero, _W) == READY and DrawingsConfig.DrawW then DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z,GetCastRange(myHero,_W),3,100,0xffff00ff) end
  545. if CanUseSpell(myHero, _R) == READY and DrawingsConfig.DrawR then DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z, GetCastRange(myHero,_R) ,3,100,0xffff00ff) end
  546. end
  547. -- kalista
  548. if GetObjectName(GetMyHero()) == "Kalista" then
  549. --Menu
  550. Config = scriptConfig("Kalista", "Kalista")
  551. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  552. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  553. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  554. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  555. Config.addParam("Rs", "Use R Save", SCRIPT_PARAM_ONOFF, true)
  556. Config.addParam("F", "E Clear", SCRIPT_PARAM_ONOFF, true)
  557. Config.addParam("Z", "Spam E", SCRIPT_PARAM_KEYDOWN, string.byte("C"))
  558. Config.addParam("M", "Execute Jungle", SCRIPT_PARAM_ONOFF, true)
  559. Config.addParam("N", "Auto E Kill", SCRIPT_PARAM_ONOFF, true)
  560. Config.addParam("I", "KS Q", SCRIPT_PARAM_ONOFF, true)
  561. Config.addParam("G", "Send Ghost", SCRIPT_PARAM_KEYDOWN, string.byte("T"))
  562. Config.addParam("X", "Wall Jump 1", SCRIPT_PARAM_KEYDOWN, string.byte("L"))
  563. Config.addParam("Y", "Wall Jump 2", SCRIPT_PARAM_KEYDOWN, string.byte("K"))
  564. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  565. ItemsConfig = scriptConfig("Items", "Items")
  566. ItemsConfig.addParam("I4","Use QSS",SCRIPT_PARAM_ONOFF,true)
  567. LevelConfig = scriptConfig("Level", "Auto Level")
  568. LevelConfig.addParam("L1","Max EQ",SCRIPT_PARAM_ONOFF,false)
  569. LevelConfig.addParam("L2","Max EW",SCRIPT_PARAM_ONOFF,false)
  570. DrawingsConfig = scriptConfig("Drawings", "Drawings")
  571. DrawingsConfig.addParam("DrawQ","Draw Q", SCRIPT_PARAM_ONOFF, true)
  572. DrawingsConfig.addParam("DrawE","Draw E", SCRIPT_PARAM_ONOFF, true)
  573. DrawingsConfig.addParam("DrawDMG", "Draw Damage", SCRIPT_PARAM_ONOFF, true)
  574. DrawingsConfig.addParam("DrawQW", "Draw Wall Jump", SCRIPT_PARAM_ONOFF, true)
  575. --Start
  576. OnLoop(function(myHero)
  577. Killsteal()
  578. AutoIgnite()
  579. Drawings()
  580. LevelUpMeleeSupport()
  581. LevelUp()
  582. JungleClear()
  583. if Config.Combo then
  584. local unit = GetCurrentTarget()
  585. if ValidTarget(unit, 1550) then
  586.  
  587. if DrawingsConfig.DrawDMG then
  588. local hp = GetCurrentHP(unit)
  589. local dmg = 0
  590. local targetPos = GetOrigin(unit)
  591. local drawPos = WorldToScreen(1,targetPos.x,targetPos.y,targetPos.z)
  592. if CanUseSpell(myHero, _Q) == READY then
  593. local Dmgz = GetBonusDmg(myHero)+GetBaseDamage(myHero)
  594. dmg = dmg + CalcDamage(myHero, unit, GotBuff(unit,"kalistaexpungemarker") > 0 and (10 + (10 * GetCastLevel(myHero,_E)) + (Dmgz * 0.6)) + (GotBuff(unit,"kalistaexpungemarker")-1) * (kalE(GetCastLevel(myHero,_E)) + (0.175 + 0.025 * GetCastLevel(myHero,_E))*Dmgz) or 0)
  595. end
  596. if CanUseSpell(myHero, _E) == READY then
  597. dmg = dmg + CalcDamage(myHero, unit, 0, 10 + 10*GetCastLevel(myHero,_E) + 0.6*GetBonusDmg(myHero))
  598. end
  599. if dmg > hp then
  600. DrawText("Killable",20,drawPos.x,drawPos.y,0xffffffff)
  601. DrawDmgOverHpBar(unit,hp,0,hp,0xffffffff)
  602. else
  603. DrawText(math.floor(100 * dmg / hp).."%",20,drawPos.x,drawPos.y,0xffffffff)
  604. DrawDmgOverHpBar(unit
  605. ,hp,0,dmg,0xffffffff)
  606. end
  607. end
  608. if GetItemSlot(myHero,3140) > 0 and ItemsConfig.I4 and GotBuff(myHero, "Stun") == 1 then
  609. CastTargetSpell(unit, GetItemSlot(myHero,3140))
  610. end
  611. if GetItemSlot(myHero,3139) > 0 and ItemsConfig.I4 and GotBuff(myHero, "Stun") == 1 then
  612. CastTargetSpell(unit, GetItemSlot(myHero,3139))
  613. end
  614. if Config.Q then
  615. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1150,50,true,true)
  616. if CanUseSpell(myHero, _Q) == READY then
  617. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  618. end
  619. end
  620. --kalista E
  621.  
  622. if Config.E then
  623. local Dmgz= GetBonusDmg(myHero)+GetBaseDamage(myHero)
  624. local dmg = (GotBuff(unit,"kalistaexpungemarker") > 0 and (10 + (10 * GetCastLevel(myHero,_E)) + (Dmgz * 0.6)) + (GotBuff(unit,"kalistaexpungemarker")-1) * (GetCastLevel(myHero,_E) + (0.175 + 0.025 * GetCastLevel(myHero,_E))*Dmgz) or 0)
  625. if CalcDamage(myHero, unit, dmg) > GetCurrentHP(unit) then
  626. if CanUseSpell(myHero,_E) == READY then
  627. CastSpell(_E)
  628. end
  629. end
  630. end
  631. if IWalkConfig.Harass then
  632. if Config.Z then
  633. if GotBuff(unit,"kalistaexpungemarker") > 4 then
  634. if CanUseSpell(myHero,_E) == READY and IsInDistance(unit, 1200) then
  635. CastSpell(_E)
  636. end
  637. end
  638. end
  639. end
  640. -- Cast R
  641. if Config.R then
  642. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.6 and
  643. IsObjectAlive(unit) and
  644. CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1200) and EnemiesAround(GetMyHeroPos(), 1400) >= 2 then
  645. CastSpell(_R)
  646. end
  647. end
  648. end
  649. end
  650. end)
  651. -- LanClear
  652. OnLoop(function(myHero)
  653. if IWalkConfig.LaneClear then
  654. if Config.F then
  655. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  656. if IsInDistance(Q, 650) then
  657. local Dmgz = GetBonusDmg(myHero)+GetBaseDamage(myHero)
  658. local dmg = (GotBuff(Q,"kalistaexpungemarker") > 0 and (10 + (10 * GetCastLevel(myHero,_E)) + (Dmgz * 0.6)) + (GotBuff(Q,"kalistaexpungemarker")-1) * (kalE(GetCastLevel(myHero,_E)) + (0.175 + 0.025 * GetCastLevel(myHero,_E))*Dmgz) or 0)
  659. local hp = GetCurrentHP(Q)
  660. local Dmg = CalcDamage(myHero, Q, dmg)
  661. if Dmg > hp then
  662. if CanUseSpell(myHero,_E) == READY then
  663. CastSpell(_E)
  664. end
  665. end
  666. end
  667. end
  668. end
  669. end
  670. end)
  671. OnLoop(function(myHero)
  672. if Config.G then
  673. if CanUseSpell(myHero, _W) == READY then
  674. CastSkillShot(_W,10092.000000, -71.240601, 4452.000000)
  675. end
  676. end
  677. end)
  678. OnLoop(function(myHero)
  679. local HeroPos = GetOrigin(myHero)
  680. if Config.X and HeroPos.x == 11972 and HeroPos.z == 4708 then
  681. CastSkillShot(_Q,11572, -71.240601, 4102)
  682. MoveToXYZ(11572, -71.240601, 4102)
  683. elseif Config.X then
  684. MoveToXYZ(11972, 59.729401, 4708)
  685.  
  686. end
  687. if Config.Y and HeroPos.x == 9022 and HeroPos.z == 4360 then
  688. CastSkillShot(_Q,9744, -71.240601, 4654)
  689. MoveToXYZ(9634, -71.240601, 4544)
  690. elseif Config.Y then
  691. MoveToXYZ(9022, 52.840878, 4360)
  692.  
  693. end
  694. end)
  695. function JungleClear()
  696. if Config.M then
  697. for _,Q in pairs(GetAllMinions(MINION_JUNGLE)) do
  698. if IsInDistance(Q, 650) then
  699. local Dmgz = GetBonusDmg(myHero)+GetBaseDamage(myHero)
  700. local dmg = (GotBuff(Q,"kalistaexpungemarker") > 0 and (10 + (10 * GetCastLevel(myHero,_E)) + (Dmgz * 0.6)) + (GotBuff(Q,"kalistaexpungemarker")-1) * (kalE(GetCastLevel(myHero,_E)) + (0.175 + 0.025 * GetCastLevel(myHero,_E))*Dmgz) or 0)
  701. local hp = GetCurrentHP(Q)
  702. local Dmg = CalcDamage(myHero, Q, dmg)
  703. if Dmg > hp then
  704. if CanUseSpell(myHero,_E) == READY and (GetCurrentMana(myHero)/GetMaxMana(myHero)) > .35 then
  705. CastSpell(_E)
  706. end
  707. end
  708. end
  709. end
  710. end
  711. end
  712. function Killsteal()
  713. local unit = GetCurrentTarget()
  714. if ValidTarget(unit, 1550) then
  715. for i,enemy in pairs(GetEnemyHeroes()) do
  716. local z = ((GetCastLevel(myHero,_Q)*30)+(GetBonusDmg(myHero)*1.9))
  717. if CanUseSpell(myHero, _Q) == READY and ValidTarget(enemy,GetCastRange(myHero,_Q)) and Config.I
  718. and (GetCastLevel(myHero,_Q)*60)+(GetBonusDmg(myHero)*1) and CalcDamage(myHero, enemy, z) > GetCurrentHP(unit) then
  719. CastTargetSpell(enemy, _Q)
  720. end
  721. end
  722. if Config.N then
  723. local Dmgz= GetBonusDmg(myHero)+GetBaseDamage(myHero)
  724. local dmg = (GotBuff(unit,"kalistaexpungemarker") > 0 and (10 + (10 * GetCastLevel(myHero,_E)) + (Dmgz * 0.6)) + (GotBuff(unit,"kalistaexpungemarker")-1) * (kalE(GetCastLevel(myHero,_E)) + (0.175 + 0.025 * GetCastLevel(myHero,_E))*Dmgz) or 0)
  725. if CalcDamage(myHero, unit, dmg) > GetCurrentHP(unit) then
  726. if CanUseSpell(myHero,_E) == READY then
  727. CastSpell(_E)
  728. end
  729. end
  730. end
  731. end
  732. end
  733. function LevelUpMeleeSupport()
  734. if LevelConfig.L2 then
  735. if GetLevel(myHero) == 1 then
  736. LevelSpell(_E)
  737. elseif GetLevel(myHero) == 2 then
  738. LevelSpell(_W)
  739. elseif GetLevel(myHero) == 3 then
  740. LevelSpell(_Q)
  741. elseif GetLevel(myHero) == 4 then
  742. LevelSpell(_E)
  743. elseif GetLevel(myHero) == 5 then
  744. LevelSpell(_E)
  745. elseif GetLevel(myHero) == 6 then
  746. LevelSpell(_R)
  747. elseif GetLevel(myHero) == 7 then
  748. LevelSpell(_E)
  749. elseif GetLevel(myHero) == 8 then
  750. LevelSpell(_E)
  751. elseif GetLevel(myHero) == 9 then
  752. LevelSpell(_W)
  753. elseif GetLevel(myHero) == 10 then
  754. LevelSpell(_W)
  755. elseif GetLevel(myHero) == 11 then
  756. LevelSpell(_R)
  757. elseif GetLevel(myHero) == 12 then
  758. LevelSpell(_W)
  759. elseif GetLevel(myHero) == 13 then
  760. LevelSpell(_Q)
  761. elseif GetLevel(myHero) == 14 then
  762. LevelSpell(_Q)
  763. elseif GetLevel(myHero) == 15 then
  764. LevelSpell(_Q)
  765. elseif GetLevel(myHero) == 16 then
  766. LevelSpell(_R)
  767. elseif GetLevel(myHero) == 17 then
  768. LevelSpell(_Q)
  769. elseif GetLevel(myHero) == 18 then
  770. LevelSpell(_Q)
  771. end
  772. end
  773. end
  774. function LevelUp()
  775. if LevelConfig.L1 then
  776. if GetLevel(myHero) == 1 then
  777. LevelSpell(_E)
  778. elseif GetLevel(myHero) == 2 then
  779. LevelSpell(_Q)
  780. elseif GetLevel(myHero) == 3 then
  781. LevelSpell(_W)
  782. elseif GetLevel(myHero) == 4 then
  783. LevelSpell(_E)
  784. elseif GetLevel(myHero) == 5 then
  785. LevelSpell(_E)
  786. elseif GetLevel(myHero) == 6 then
  787. LevelSpell(_R)
  788. elseif GetLevel(myHero) == 7 then
  789. LevelSpell(_E)
  790. elseif GetLevel(myHero) == 8 then
  791. LevelSpell(_E)
  792. elseif GetLevel(myHero) == 9 then
  793. LevelSpell(_Q)
  794. elseif GetLevel(myHero) == 10 then
  795. LevelSpell(_Q)
  796. elseif GetLevel(myHero) == 11 then
  797. LevelSpell(_R)
  798. elseif GetLevel(myHero) == 12 then
  799. LevelSpell(_Q)
  800. elseif GetLevel(myHero) == 13 then
  801. LevelSpell(_W)
  802. elseif GetLevel(myHero) == 14 then
  803. LevelSpell(_W)
  804. elseif GetLevel(myHero) == 15 then
  805. LevelSpell(_W)
  806. elseif GetLevel(myHero) == 16 then
  807. LevelSpell(_R)
  808. elseif GetLevel(myHero) == 17 then
  809. LevelSpell(_W)
  810. elseif GetLevel(myHero) == 18 then
  811. LevelSpell(_W)
  812. end
  813. end
  814. end
  815. function kalE(x) if x <= 1 then return 10 else return kalE(x-1) + 2 + x end end -- Insipireds code.
  816. function Drawings()
  817. myHeroPos = GetOrigin(myHero)
  818. DrawCircle(9022, 52.840878, 4360,80,1,1,0xffffffff)
  819. DrawCircle(12060, 51, 4806,80,1,1,0xffffffff)
  820. if CanUseSpell(myHero, _Q) == READY and DrawingsConfig.DrawQ then DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z,GetCastRange(myHero,_Q),3,100,0xffff00ff) end
  821. if CanUseSpell(myHero, _E) == READY and DrawingsConfig.DrawE then DrawCircle(myHeroPos.x,myHeroPos.y,myHeroPos.z, GetCastRange(myHero,_E) ,3,100,0xffff00ff) end
  822. end
  823. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Kalista Loaded</font>"))
  824. end
  825. -- Vi
  826. if GetObjectName(GetMyHero()) == "Vi" then
  827. --Menu
  828. Config = scriptConfig("Vi", "Vi")
  829. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  830. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  831. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  832. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  833. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  834. --Start
  835. OnLoop(function(myHero)
  836. AutoIgnite()
  837. if Config.Combo and waitTickCount < GetTickCount() then
  838. local unit = GetCurrentTarget()
  839. if ValidTarget(unit, 1550) then
  840.  
  841.  
  842. local target = GetTarget(725, DAMAGE_PHYSICAL) -- Q from Deftsu
  843. if CanUseSpell(myHero, _Q) == READY and ValidTarget(target, 725) and Config.Q then
  844. local myHeroPos = GetMyHeroPos()
  845. CastSkillShot(_Q, myHeroPos.x, myHeroPos.y, myHeroPos.z)
  846. for i=250, 725, 250 do
  847. DelayAction(function()
  848. local _Qrange = 225 + math.min(225, i/2)
  849. local Pred = GetPredictionForPlayer(GetMyHeroPos(),target,GetMoveSpeed(target),math.huge,600,_Qrange,100,true,true)
  850. if Pred.HitChance >= 1 then
  851. CastSkillShot2(_Q, Pred.PredPos.x, Pred.PredPos.y, Pred.PredPos.z)
  852. end
  853. end, i)
  854. end
  855. end
  856. --Vi E
  857.  
  858. if Config.E then
  859. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 175) then
  860. CastSpell(_E)
  861. end
  862. end
  863. -- Cast R
  864. if Config.R then
  865. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 800) then
  866. CastTargetSpell(unit, _R)
  867. end
  868. end
  869. end
  870. end
  871. end)
  872. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Vi Loaded</font>"))
  873. end
  874. -- Yasuo
  875. if GetObjectName(GetMyHero()) == "Yasuo" then
  876. --Menu
  877. Config = scriptConfig("Yasuo", "Yasuo")
  878. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  879. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  880. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  881. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  882. Config.addParam("F", "E to Minion (Combo)", SCRIPT_PARAM_ONOFF, true)
  883. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  884. --Start
  885. OnLoop(function(myHero)
  886. local unit = GetCurrentTarget()
  887. AutoIgnite()
  888. if Config.Combo then
  889. if ValidTarget(unit, 1550) then
  890. -- Gang Q
  891.  
  892. if Config.Q then
  893. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero, _Q),50,false,true)
  894. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 1200) and QPred.HitChance == 1 then
  895. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  896. end
  897. end
  898. -- Yasuo E
  899. if GetCastName(myHero, _E) == "YasuoDashWrapper" then
  900. if Config.E then
  901. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 475) then
  902. CastTargetSpell(unit,_E)
  903. end
  904. end
  905. end
  906. -- Yasuo R
  907. if Config.R then
  908. local ult = (GetCastLevel(myHero,_R)*100)+(GetBonusDmg(myHero)*1.50)
  909. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) and CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 1200) then
  910. CastSpell(_R)
  911. end
  912. end
  913. end
  914. end
  915. end)
  916.  
  917. OnLoop(function(myHero)
  918. if Config.Combo then
  919. if Config.F then
  920. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  921. local unit = GetCurrentTarget()
  922. if unit == nil then return end
  923. if IsInDistance(Q, 750) or IsInDistance(unit, 750) then
  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. local unit = GetCurrentTarget()
  929. if Dmg < hp or Dmg > hp then
  930. elseif GotBuff(unit, "YasuoDashWrapper") > 1 then return end
  931. if GetCastName(myHero, _E) == "YasuoDashWrapper" then
  932. if CanUseSpell(myHero, _E) == READY then
  933. CastTargetSpell(Q,_E)
  934. end
  935. end
  936. end
  937. end
  938. end
  939.  
  940. end
  941. end)
  942. OnProcessSpell(function(unit, spell) -- All of this is from ispired
  943. myHero = GetMyHero()
  944. if Config.W and unit and GetTeam(unit) ~= GetTeam(myHero) and GetObjectType(unit) == GetObjectType(myHero) and GetDistance(unit) < 1500 then
  945. 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
  946. local wPos = GenerateWallPos(GetOrigin(unit))
  947. CastSkillShot(_W, wPos.x, wPos.y, wPos.z)
  948. elseif spell.endPos then
  949. local makeUpPos = GenerateSpellPos(GetOrigin(unit), spell.endPos, GetDistance(unit, myHero))
  950. if GetDistanceSqr(makeUpPos) < (GetHitBox(myHero)*3)^2 or GetDistanceSqr(spell.endPos) < (GetHitBox(myHero)*3)^2 then
  951. local wPos = GenerateWallPos(GetOrigin(unit))
  952. CastSkillShot(_W, wPos.x, wPos.y, wPos.z)
  953. end
  954. end
  955. end
  956. end)
  957. function GenerateWallPos(unitPos)
  958. local tV = {x = (unitPos.x-GetMyHeroPos().x), z = (unitPos.z-GetMyHeroPos().z)}
  959. local len = math.sqrt(tV.x * tV.x + tV.z * tV.z)
  960. return {x = GetMyHeroPos().x + 400 * tV.x / len, y = 0, z = GetMyHeroPos().z + 400 * tV.z / len}
  961. end
  962.  
  963. function GenerateSpellPos(unitPos, spellPos, range)
  964. local tV = {x = (spellPos.x-unitPos.x), z = (spellPos.z-unitPos.z)}
  965. local len = math.sqrt(tV.x * tV.x + tV.z * tV.z)
  966. return {x = unitPos.x + range * tV.x / len, y = 0, z = unitPos.z + range * tV.z / len}
  967. end -- Inspireds END
  968. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Yasuo Loaded</font>"))
  969. end
  970. -- Sona
  971. if GetObjectName(GetMyHero()) == "Sona" then
  972. --Menu
  973. Config = scriptConfig("Sona", "Sona")
  974. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  975. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  976. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  977. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  978. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  979. --Start
  980. OnLoop(function(myHero)
  981. local unit = GetCurrentTarget()
  982. if Config.W then
  983. for _, ally in pairs(GetAllyHeroes()) do
  984. if Config.W then
  985. if (GetCurrentHP(ally)/GetMaxHP(ally))<0.6 and
  986. CanUseSpell(myHero, _W) == READY and IsInDistance(ally, 1000) and IsObjectAlive(ally) then
  987. CastSpell(_W)
  988. end
  989. end
  990. end
  991. end
  992. if GetCastName(myHero, _W) == "SonaW" then
  993. if Config.W then
  994. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.5 and
  995. CanUseSpell(myHero, _W) == READY and IsObjectAlive(myHero) then
  996. CastSpell(_W)
  997. end
  998. end
  999. end
  1000. AutoIgnite()
  1001. if Config.Combo then
  1002. if ValidTarget(unit, 1550) then
  1003. -- Sona Q
  1004. if Config.Q then
  1005. if GetCastName(myHero, _Q) == "SonaQ" then
  1006. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,260,50,false,true)
  1007. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 850) then
  1008. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1009. end
  1010. end
  1011. end
  1012. -- Sona R
  1013. if Config.R then
  1014. if GetCastName(myHero, _R) == "SonaR" then
  1015. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1000,50,false,true)
  1016. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.6 and
  1017. CanUseSpell(myHero, _R) == READY and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  1018. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  1019. end
  1020. end
  1021. end
  1022. end
  1023. end
  1024. end)
  1025. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Sona Loaded</font>"))
  1026. end
  1027. --Khazix
  1028. if GetObjectName(GetMyHero()) == "Khazix" then
  1029. --Menu
  1030. Config = scriptConfig("Khazix", "Khazix")
  1031. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1032. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1033. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1034. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1035. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1036. --Start
  1037. OnLoop(function(myHero)
  1038. AutoIgnite()
  1039. if Config.Combo then
  1040. local unit = GetCurrentTarget()
  1041. if ValidTarget(unit, 1700) then
  1042.  
  1043. -- Khazix E
  1044. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero,_E),50,false,true)
  1045. if Config.E then
  1046. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  1047. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1048. end
  1049. end
  1050. -- Khazix Q
  1051. if Config.Q then
  1052. if CanUseSpell(myHero, _Q) == READY and IsObjectAlive(unit) and IsInDistance(unit, 325) then
  1053. CastTargetSpell(unit,_Q)
  1054. end
  1055. end
  1056. -- Khazix Q
  1057. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,600,50,true,true)
  1058. if Config.Q then
  1059. if CanUseSpell(myHero, _W) == READY and IsInDistance(unit, 1000) and WPred.HitChance == 1 then
  1060. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1061. end
  1062. end
  1063. end
  1064. end
  1065. end)
  1066. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Khazix Loaded</font>"))
  1067. end
  1068. --Rumble
  1069. if GetObjectName(GetMyHero()) == "Rumble" then
  1070. --Menu
  1071. Config = scriptConfig("Rumble", "Rumble")
  1072. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1073. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1074. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1075. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1076. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1077. --Start
  1078. OnLoop(function(myHero)
  1079. AutoIgnite()
  1080. if Config.Combo then
  1081. local unit = GetCurrentTarget()
  1082. if ValidTarget(unit, 1700) then
  1083.  
  1084. -- Rumble Q
  1085. if GetCastName(myHero, _Q) == "RumbleFlameThrower" then
  1086. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,600,50,false,true)
  1087. if Config.Q then
  1088. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 600) and QPred.HitChance == 1 then
  1089. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1090. end
  1091. end
  1092. end
  1093. -- Rumble E
  1094. if GetCastName(myHero, _E) == "RumbleGrenade" then
  1095. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,850,50,true,true)
  1096. if Config.E then
  1097. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 850) and EPred.HitChance == 1 then
  1098. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1099. end
  1100. end
  1101. end
  1102. -- Rumble R
  1103. local myorigin = GetOrigin(unit)
  1104. local mymouse = GetCastRange(myHero,_R)
  1105. if Config.R then
  1106. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1700,55,false,true)
  1107. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1700) then
  1108. CastSkillShot3(_R,myorigin,EPred)
  1109. end
  1110. end
  1111. local myorigin = GetOrigin(unit)
  1112. local mymouse = GetCastRange(myHero,_R)
  1113. if Config.R then
  1114. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1700,55,false,true)
  1115. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1700) then
  1116. CastSkillShot3(_R,myorigin,EPred)
  1117. end
  1118. end
  1119. end
  1120. end
  1121. end)
  1122. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Rumble Loaded</font>"))
  1123. end
  1124. -- Alistar
  1125. if GetObjectName(GetMyHero()) == "Alistar" then
  1126. --Menu
  1127. Config = scriptConfig("Alistar", "Alistar")
  1128. Config.addParam("QW", "Use QW Combo", SCRIPT_PARAM_ONOFF, false)
  1129. Config.addParam("WQ", "Use WQ Combo", SCRIPT_PARAM_ONOFF, true)
  1130. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1131. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1132. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1133. --Start
  1134. OnLoop(function(myHero)
  1135. local unit = GetCurrentTarget()
  1136. if GetCastName(myHero, _R) == "FerociousHowl" then
  1137. if Config.R then
  1138. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.4 and
  1139. CanUseSpell(myHero, _R) == READY and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  1140. CastSpell(_R)
  1141. end
  1142. end
  1143. end
  1144. for _, ally in pairs(GetAllyHeroes()) do
  1145. if Config.E then
  1146. if (GetCurrentHP(ally)/GetMaxHP(ally))<0.7 and
  1147. CanUseSpell(myHero, _E) == READY and IsInDistance(ally, 575) and IsObjectAlive(ally) then
  1148. CastSpell(_E)
  1149. end
  1150. end
  1151. end
  1152. if GetCastName(myHero, _E) == "TriumphantRoar" then
  1153. if Config.E then
  1154. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.7 and
  1155. CanUseSpell(myHero, _E) == READY and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  1156. CastSpell(_E)
  1157. end
  1158. end
  1159. end
  1160. AutoIgnite()
  1161. if Config.Combo then
  1162. if ValidTarget(unit, 1550) then
  1163. -- Alistar W
  1164. if GetCastName(myHero, _W) == "Headbutt" then
  1165. if Config.WQ then
  1166. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 650) then
  1167. CastTargetSpell(unit, _W)
  1168. end
  1169. end
  1170. end
  1171. -- Alistar Q
  1172. if Config.WQ then
  1173. if GetCastName(myHero, _Q) == "Pulverize" then
  1174. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,260,50,false,true)
  1175. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 365) then
  1176. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1177. end
  1178. end
  1179. end
  1180. -- Alistar Q
  1181. if Config.QW then
  1182. if GetCastName(myHero, _Q) == "Pulverize" then
  1183. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,260,50,false,true)
  1184. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 365) then
  1185. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1186. end
  1187. end
  1188. end
  1189. -- Alistar W
  1190. if GetCastName(myHero, _W) == "Headbutt" then
  1191. if Config.QW then
  1192. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 300) then
  1193. CastTargetSpell(unit, _W)
  1194. end
  1195. end
  1196. end
  1197. end
  1198. end
  1199. end)
  1200. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Alistar Loaded</font>"))
  1201. end
  1202. -- Leona
  1203. if GetObjectName(GetMyHero()) == "Leona" then
  1204. --Menu
  1205. Config = scriptConfig("Leona", "Leona")
  1206. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1207. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1208. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1209. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1210. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1211. --Start
  1212. OnLoop(function(myHero)
  1213. local unit = GetCurrentTarget()
  1214. if GetCastName(myHero, _W) == "LeonaSolarBarrier" then
  1215. if Config.W then
  1216. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.75 and
  1217. CanUseSpell(myHero, _W) == READY and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  1218. CastTargetSpell(myHero,_W)
  1219. end
  1220. end
  1221. end
  1222. AutoIgnite()
  1223. if Config.Combo then
  1224. if ValidTarget(unit, 1550) then
  1225.  
  1226. -- Leona Q
  1227. if Config.Q then
  1228. if GetCastName(myHero, _Q) == "LeonaShieldOfDaybreak" then
  1229. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 625) then
  1230. CastTargetSpell(unit,_Q)
  1231. end
  1232. end
  1233. end
  1234. --Leona E
  1235. if Config.E then
  1236. if GetCastName(myHero, _E) == "LeonaZenithBlade" then
  1237. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero,_E),50,false,true)
  1238. if CanUseSpell(myHero, _E) == READY and IsObjectAlive(unit) and IsInDistance(unit, 700) then
  1239. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1240. end
  1241. end
  1242. end
  1243. -- Leona R
  1244. if Config.R then
  1245. if GetCastName(myHero, _R) == "LeonaSolarFlare" then
  1246. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero,_R),50,false,true)
  1247. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.8 and
  1248. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 1100) then
  1249. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  1250. end
  1251. end
  1252. end
  1253. end
  1254. end
  1255. end)
  1256. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Leona Loaded</font>"))
  1257. end
  1258. -- Swain
  1259. if GetObjectName(GetMyHero()) == "Swain" then
  1260. --Menu
  1261. Config = scriptConfig("Swain", "Swain")
  1262. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1263. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1264. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1265. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1266. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1267. --Start
  1268. OnLoop(function(myHero)
  1269. local unit = GetCurrentTarget()
  1270. if GetCastName(myHero, _R) == "SwainMetamorphism" then
  1271. if Config.R then
  1272. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.3 and
  1273. CanUseSpell(myHero, _R) == READY and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  1274. CastTargetSpell(myHero,_R)
  1275. end
  1276. end
  1277. end
  1278. AutoIgnite()
  1279. if Config.Combo then
  1280. if ValidTarget(unit, 1550) then
  1281.  
  1282. -- Swain Q
  1283. if Config.Q then
  1284. if GetCastName(myHero, _Q) == "SwainDecrepify" then
  1285. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 625) then
  1286. CastTargetSpell(unit,_Q)
  1287. end
  1288. end
  1289. end
  1290. --Swain E
  1291. if Config.E then
  1292. if GetCastName(myHero, _E) == "SwainTorment" then
  1293. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 625) then
  1294. CastTargetSpell(unit,_E)
  1295. end
  1296. end
  1297. end
  1298. -- Swain W
  1299. if Config.W then
  1300. if GetCastName(myHero, _W) == "SwainShadowGrasp" then
  1301. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero,_W),50,false,true)
  1302. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 625) then
  1303. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1304. end
  1305. end
  1306. end
  1307. if Config.R then
  1308. if GetCastName(myHero, _R) == "SwainMetamorphism" then
  1309. local ult = (GetCastLevel(myHero,_R)*50+130)+(GetBonusAP(myHero)*.2)
  1310. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) and
  1311. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 700) then
  1312. CastTargetSpell(myHero, _R)
  1313. end
  1314. end
  1315. end
  1316. end
  1317. end
  1318. end)
  1319. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Swain Loaded</font>"))
  1320. end
  1321. -- Gnar
  1322. if GetObjectName(GetMyHero()) == "Gnar" then
  1323. --Menu
  1324. Config = scriptConfig("Gnar", "Gnar")
  1325. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1326. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1327. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1328. --Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1329. Config.addParam("Q2", "Use Q2", SCRIPT_PARAM_ONOFF, true)
  1330. Config.addParam("W2", "Use W2", SCRIPT_PARAM_ONOFF, true)
  1331. Config.addParam("E2", "Use E2", SCRIPT_PARAM_ONOFF, true)
  1332. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1333. --Start
  1334. OnLoop(function(myHero)
  1335. AutoIgnite()
  1336. if Config.Combo then
  1337. local mymouse = GetMousePos()
  1338. local unit = GetCurrentTarget()
  1339. if ValidTarget(unit, 1550) then
  1340.  
  1341. -- Gnar Q
  1342. if Config.Q then
  1343. if GetCastName(myHero, _Q) == "GnarQ" then
  1344. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1100,50,true,true)
  1345. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 1100) then
  1346. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1347. end
  1348. end
  1349. end
  1350. --Gnar E gnarbigqwe
  1351. if Config.E then
  1352. if GetCastName(myHero, _E) == "GnarE" then
  1353. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 1100) then
  1354. CastSkillShot(_E, GetMousePos().x, GetMousePos().y, GetMousePos().z)
  1355. end
  1356. end
  1357. end
  1358. -- Gnar W
  1359. if Config.W2 then
  1360. if GetCastName(myHero, _W) == "gnarbigw" then
  1361. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,GetCastRange(myHero,_W),50,false,true)
  1362. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and ValidTarget(unit, GetCastRange(myHero,_W)) then
  1363. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1364. end
  1365. end
  1366. end
  1367. if Config.Q2 then
  1368. if GetCastName(myHero, _Q) == "gnarbigq" then
  1369. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1100,50,true,true)
  1370. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 1100) then
  1371. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1372. end
  1373. end
  1374. end
  1375. if Config.E2 then
  1376. if GetCastName(myHero, _E) == "gnarbige" then
  1377. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,475,50,false,true)
  1378. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 1100) then
  1379. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1380. end
  1381. end
  1382. end
  1383.  
  1384. end
  1385. end
  1386. end)
  1387. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Gnar Loaded</font>"))
  1388. end
  1389. -- Udyr
  1390. if GetObjectName(GetMyHero()) == "Udyr" then
  1391. --Menu
  1392. Config = scriptConfig("Udyr", "Udyr")
  1393. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1394. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1395. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1396. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1397. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1398. --Start
  1399. OnLoop(function(myHero)
  1400. AutoIgnite()
  1401. if Config.Combo then
  1402. local unit = GetCurrentTarget()
  1403. if ValidTarget(unit, 1550) then
  1404.  
  1405. --Udyr E
  1406. if GetCastName(myHero, _E) == "UdyrBearStance" then
  1407. if Config.E then
  1408. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 125) then
  1409. CastTargetSpell(myHero,_E)
  1410. end
  1411. end
  1412. end
  1413. -- Udyr Q
  1414. if Config.Q then
  1415. if GetCastName(myHero, _Q) == "UdyrTigerStance" then
  1416. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 125) then
  1417. CastTargetSpell(myHero,_Q)
  1418. end
  1419. end
  1420. end
  1421. -- Udyr W
  1422. if GetCastName(myHero, _W) == "UdyrTurtleStance" then
  1423. if Config.W then
  1424. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,false,true)
  1425. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 125) then
  1426. CastTargetSpell(myHero,_W)
  1427. end
  1428. end
  1429. end
  1430. -- Cast R
  1431. if GetCastName(myHero, _R) == "UdyrPhoenixStance" then
  1432. if Config.R then
  1433. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 250) then
  1434. CastTargetSpell(myHero, _R)
  1435. end
  1436. end
  1437. end
  1438. end
  1439. end
  1440. end)
  1441. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Udyr Loaded</font>"))
  1442. end
  1443. -- Brand
  1444. if GetObjectName(GetMyHero()) == "Brand" then
  1445. --Menu
  1446. Config = scriptConfig("Brand", "Brand")
  1447. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1448. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1449. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1450. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1451. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1452. --Start
  1453. OnLoop(function(myHero)
  1454. AutoIgnite()
  1455. if Config.Combo then
  1456. local unit = GetCurrentTarget()
  1457. if ValidTarget(unit, 1550) then
  1458.  
  1459. --Brand E
  1460. if GetCastName(myHero, _E) == "BrandConflagration" then
  1461. if Config.E then
  1462. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 625) then
  1463. CastTargetSpell(unit,_E)
  1464. end
  1465. end
  1466. end
  1467. -- Brand Q
  1468. if Config.Q then
  1469. if GetCastName(myHero, _Q) == "BrandBlaze" then
  1470. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1050,50,true,true)
  1471. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 1050) and GotBuff(unit, "brandablaze") == 1 then
  1472. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1473. end
  1474. end
  1475. end
  1476. -- Brand W
  1477. if GetCastName(myHero, _W) == "BrandFissure" then
  1478. if Config.W then
  1479. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,false,true)
  1480. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 900) then
  1481. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1482. end
  1483. end
  1484. end
  1485. -- Cast R
  1486. if GetCastName(myHero, _R) == "BrandWildfire" then
  1487. if Config.R then
  1488. local ult = (GetCastLevel(myHero,_R)*100)+(GetBonusAP(myHero)*.50)
  1489. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) and
  1490. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 750) then
  1491. CastTargetSpell(unit, _R)
  1492. end
  1493. end
  1494. end
  1495. end
  1496. end
  1497. end)
  1498. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Brand Loaded</font>"))
  1499. end
  1500. -- Fiora
  1501. if GetObjectName(GetMyHero()) == "Fiora" then
  1502. --Menu
  1503. Config = scriptConfig("Fiora", "Fiora")
  1504. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1505. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1506. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1507. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1508. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1509. --Start
  1510. OnLoop(function(myHero)
  1511. AutoIgnite()
  1512. if Config.Combo then
  1513. local unit = GetCurrentTarget()
  1514. if ValidTarget(unit, 1550) then
  1515.  
  1516. -- Fiora Q
  1517. if Config.Q then
  1518. if GetCastName(myHero, _Q) == "FioraQ" then
  1519. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,400,50,false,true)
  1520. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 400) then
  1521. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1522. end
  1523. end
  1524. end
  1525. -- Fiora W
  1526. if GetCastName(myHero, _W) == "FioraW" then
  1527. if Config.W then
  1528. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,750,50,false,true)
  1529. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 750) then
  1530. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1531. end
  1532. end
  1533. end
  1534. --Fiora E
  1535. if GetCastName(myHero, _E) == "FioraE" then
  1536. if Config.E then
  1537. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 260) then
  1538. CastTargetSpell(myHero,_E)
  1539. end
  1540. end
  1541. end
  1542. -- Cast R
  1543. if GetCastName(myHero, _R) == "FioraR" then
  1544. if Config.R then
  1545. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.4 and
  1546. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 500) then
  1547. CastTargetSpell(unit, _R)
  1548. end
  1549. end
  1550. end
  1551. end
  1552. end
  1553. end)
  1554. OnProcessSpell(function(unit, spell) -- Modified Yasuo Wall Code
  1555. myHero = GetMyHero()
  1556. if Config.W and unit and GetTeam(unit) ~= GetTeam(myHero) and GetObjectType(unit) == GetObjectType(myHero) and GetDistance(unit) < 1500 then
  1557. 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
  1558. local wPos = GenerateWPos(GetOrigin(unit))
  1559. CastSkillShot(_W, wPos.x, wPos.y, wPos.z)
  1560. elseif spell.endPos then
  1561. local makeUpPos = GenerateSpellPos(GetOrigin(unit), spell.endPos, GetDistance(unit, myHero))
  1562. if GetDistanceSqr(makeUpPos) < (GetHitBox(myHero)*3)^2 or GetDistanceSqr(spell.endPos) < (GetHitBox(myHero)*3)^2 then
  1563. local wPos = GenerateWPos(GetOrigin(unit))
  1564. CastSkillShot(_W, wPos.x, wPos.y, wPos.z)
  1565. end
  1566. end
  1567. end
  1568. end)
  1569. function GenerateWPos(unitPos)
  1570. local tV = {x = (unitPos.x-GetMyHeroPos().x), z = (unitPos.z-GetMyHeroPos().z)}
  1571. local len = math.sqrt(tV.x * tV.x + tV.z * tV.z)
  1572. return {x = GetMyHeroPos().x + 400 * tV.x / len, y = 0, z = GetMyHeroPos().z + 400 * tV.z / len}
  1573. end
  1574.  
  1575. function GenerateSpellPos(unitPos, spellPos, range)
  1576. local tV = {x = (spellPos.x-unitPos.x), z = (spellPos.z-unitPos.z)}
  1577. local len = math.sqrt(tV.x * tV.x + tV.z * tV.z)
  1578. return {x = unitPos.x + range * tV.x / len, y = 0, z = unitPos.z + range * tV.z / len}
  1579. end -- END of AUTOPARRY
  1580. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Fiora Loaded</font>"))
  1581. end
  1582.  
  1583. -- Riven
  1584. if GetObjectName(GetMyHero()) == "Riven" then
  1585. --Menu
  1586. Config = scriptConfig("Riven", "Riven")
  1587. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1588. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1589. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1590. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1591. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1592. --Start
  1593. OnLoop(function(myHero)
  1594. AutoIgnite()
  1595. if Config.Combo then
  1596. local unit = GetCurrentTarget()
  1597. if ValidTarget(unit, 1550) then
  1598. --Riven E
  1599. if GetCastName(myHero, _E) == "RivenFeint" then
  1600. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,325,50,true,true)
  1601. if Config.E then
  1602. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  1603. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1604. end
  1605. end
  1606. end
  1607. -- Riven Q
  1608. if Config.Q then
  1609. if GetCastName(myHero, _Q) == "RivenTriCleave" then
  1610. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,260,50,false,true)
  1611. DelayAction(function() AttackUnit(unit) end, 1800)
  1612. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 260) then
  1613. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1614. end
  1615. end
  1616. end
  1617. -- Riven W
  1618. if GetCastName(myHero, _W) == "RivenMartyr" then
  1619. if Config.W then
  1620. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,125,50,false,true)
  1621. if CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 125) then
  1622. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1623. end
  1624. end
  1625. end
  1626. -- Cast R
  1627. if GetCastName(myHero, _R) == "RivenFengShuiEngine" then
  1628. if Config.R then
  1629. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.3 and
  1630. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 900) then
  1631. CastTargetSpell(myHero, _R)
  1632. end
  1633. end
  1634. end
  1635. --Cast R windslash
  1636. if GetCastName(myHero, _R) == "rivenizunablade" then
  1637. if Config.R then
  1638. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,false,true)
  1639. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.4 and
  1640. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 900) then
  1641. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  1642. end
  1643. end
  1644. end
  1645. end
  1646. end
  1647. end)
  1648.  
  1649. OnProcessSpell(function(unit, spell)
  1650. local unit = GetCurrentTarget()
  1651. if unit and unit == myHero and spell and spell.name and spell.name:lower():find("attack") then
  1652. if Config.Combo and ValidTarget(unit) then
  1653. local targetPos = GetOrigin(unit)
  1654. DelayAction(function() CastSkillShot(_Q, targetPos.x, targetPos.y, targetPos.z) end, spell.windUpTime * 800)
  1655. end
  1656. end
  1657. end)
  1658. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Riven Loaded</font>"))
  1659. end
  1660.  
  1661. -- Gangplank
  1662. if GetObjectName(GetMyHero()) == "Gangplank" then
  1663. --Menu
  1664. Config = scriptConfig("Gangplank", "Gangplank")
  1665. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1666. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1667. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1668. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1669. Config.addParam("F", "LastHit", SCRIPT_PARAM_ONOFF, true)
  1670. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1671. --Start
  1672. OnLoop(function(myHero)
  1673. local unit = GetCurrentTarget()
  1674. --Auto heal if under or 30% HP AND ENEMY IS IN 1000 RANGE.
  1675. if GetCastName(myHero, _W) == "GangplankW" then
  1676. if Config.R then
  1677. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.3 and
  1678. CanUseSpell(myHero, _W) == READY and IsObjectAlive(unit) and IsInDistance(unit, 1000) then
  1679. CastTargetSpell(myHero, _W)
  1680. end
  1681. end
  1682. end
  1683. -- Auto R (ks)
  1684. if GetCastName(myHero, _R) == "GangplankR" then
  1685. if Config.R then
  1686. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,10000,50,false,true)
  1687. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.2 and
  1688. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 10000) then
  1689. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  1690. end
  1691. end
  1692. end
  1693. AutoIgnite()
  1694. if Config.Combo then
  1695. if ValidTarget(unit, 1550) then
  1696. -- Gang Q
  1697.  
  1698. if Config.Q then
  1699. if GetCastName(myHero, _Q) == "GangplankQWrapper" then
  1700. if CanUseSpell(myHero, _Q) == READY then
  1701. CastTargetSpell("GangplankBarrel",_Q)
  1702. end
  1703. end
  1704. end
  1705. -- Gangplank E
  1706. if GetCastName(myHero, _E) == "GangplankE" then
  1707. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1000,50,false,true)
  1708. if Config.E then
  1709. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  1710. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1711. end
  1712. end
  1713. end
  1714. -- Gangplank R
  1715. if GetCastName(myHero, _R) == "GangplankR" then
  1716. if Config.R then
  1717. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,10000,50,false,true)
  1718. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.2 and
  1719. CanUseSpell(myHero, _R) == READY and IsObjectAlive(unit) and IsInDistance(unit, 10000) then
  1720. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  1721. end
  1722. end
  1723. end
  1724. end
  1725. end
  1726. end)
  1727. OnLoop(function(myHero)
  1728. if IWalkConfig.LastHit then
  1729. if Config.F then
  1730. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  1731. if IsInDistance(Q, 750) then
  1732. local z = (GetCastLevel(myHero,_Q)*25)+(GetBonusDmg(myHero)*1.7)
  1733. local hp = GetCurrentHP(Q)
  1734. local Dmg = CalcDamage(myHero, Q, z)
  1735. if Dmg > hp then
  1736. if CanUseSpell(myHero, _Q) == READY then
  1737. CastTargetSpell(Q,_Q)
  1738. end
  1739. end
  1740. end
  1741. end
  1742. end
  1743. end
  1744. end)
  1745. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Gangplank Loaded</font>"))
  1746. end
  1747.  
  1748. -- Irelia
  1749. if GetObjectName(GetMyHero()) == "Irelia" then
  1750. --Menu
  1751. Config = scriptConfig("Irelia", "Irelia")
  1752. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1753. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1754. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1755. Config.addParam("Es", "Use E Stun", SCRIPT_PARAM_ONOFF, false)
  1756. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1757. Config.addParam("F", "LastHit", SCRIPT_PARAM_ONOFF, true)
  1758. Config.addParam("G", "KS Q", SCRIPT_PARAM_ONOFF, true)
  1759. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1760. --Start
  1761. OnLoop(function(myHero)
  1762. Killsteal()
  1763. AutoIgnite()
  1764. if Config.Combo then
  1765. local unit = GetCurrentTarget()
  1766. if ValidTarget(unit, 1550) then
  1767. -- Irelia Q
  1768. if Config.Q then
  1769. if GetCastName(myHero, _Q) == "IreliaGatotsu" then
  1770. if CanUseSpell(myHero, _Q) == READY then
  1771. CastTargetSpell(unit,_Q)
  1772. end
  1773. end
  1774. end
  1775. -- Irelia E
  1776. if Config.E then
  1777. if GetCastName(myHero, _E) == "IreliaEquilibriumStrike" then
  1778. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 325) then
  1779. CastTargetSpell(unit,_E)
  1780. end
  1781. end
  1782. end
  1783. -- Irelia E
  1784. if Config.Es then
  1785. if GetCastName(myHero, _E) == "IreliaEquilibriumStrike" then
  1786. if (GetCurrentHP(myHero) < GetCurrentHP(unit)) and CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 325) then
  1787. CastTargetSpell(unit,_E)
  1788. end
  1789. end
  1790. end
  1791. if Config.W then
  1792. if GetCastName(myHero, _W) == "IreliaHitenStyle" then
  1793. if CanUseSpell(myHero, _W) == READY and IsInDistance(unit, 325) then
  1794. CastTargetSpell(unit,_W)
  1795. end
  1796. end
  1797. end
  1798. -- Irelia R
  1799. if Config.R then
  1800. if GetCastName(myHero, _R) == "IreliaTranscendentBlades" then
  1801. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1000,55,false,true)
  1802. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.3 and IsObjectAlive(unit) and CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1000) then
  1803. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  1804. end
  1805. end
  1806. end
  1807. end
  1808. end
  1809. end)
  1810. OnLoop(function(myHero)
  1811. if IWalkConfig.LastHit then
  1812. if Config.F then
  1813. for _,Q in pairs(GetAllMinions(MINION_ENEMY)) do
  1814. if IsInDistance(Q, 750) then
  1815. local z = (GetCastLevel(myHero,_Q)*30)+(GetBonusDmg(myHero)*1.9)
  1816. local hp = GetCurrentHP(Q)
  1817. local Dmg = CalcDamage(myHero, Q, z)
  1818. if Dmg > hp then
  1819. if CanUseSpell(myHero, _Q) == READY then
  1820. CastTargetSpell(Q,_Q)
  1821. end
  1822. end
  1823. end
  1824. end
  1825. end
  1826. end
  1827. end)
  1828. function Killsteal()
  1829. local unit = GetCurrentTarget()
  1830. if ValidTarget(unit, 1550) then
  1831. for i,enemy in pairs(GetEnemyHeroes()) do
  1832. local z = ((GetCastLevel(myHero,_Q)*30)+(GetBonusDmg(myHero)*1.9))
  1833. if CanUseSpell(myHero, _Q) == READY and ValidTarget(enemy,GetCastRange(myHero,_Q)) and Config.I
  1834. and (GetCastLevel(myHero,_Q)*30)+(GetBonusDmg(myHero)*1.9) and CalcDamage(myHero, enemy, z) > GetCurrentHP(unit) then
  1835. CastTargetSpell(enemy, _Q)
  1836. end
  1837. end
  1838. end
  1839. end
  1840. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Irelia Loaded</font>"))
  1841. end
  1842.  
  1843. --Evelynn
  1844. if GetObjectName(GetMyHero()) == "Evelynn" then
  1845. --Menu
  1846. Config = scriptConfig("Evelynn", "Evelynn")
  1847. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1848. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1849. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1850. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1851. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1852. --Start
  1853. OnLoop(function(myHero)
  1854. AutoIgnite()
  1855. if Config.Combo then
  1856. local unit = GetCurrentTarget()
  1857. if ValidTarget(unit, 1550) then
  1858.  
  1859. -- Evelynn W
  1860. if Config.W then
  1861. if GetCastName(myHero, _W) == "EvelynnW" then
  1862. if CanUseSpell(myHero, _W) == READY then
  1863. CastTargetSpell(myHero,_W)
  1864. end
  1865. end
  1866. end
  1867. -- Evelynn Q
  1868. if Config.Q then
  1869. if GetCastName(myHero, _Q) == "EvelynnQ" then
  1870. if CanUseSpell(myHero, _Q) == READY then
  1871. CastTargetSpell(myHero,_Q)
  1872. end
  1873. end
  1874. end
  1875. -- Evelynn E
  1876. if Config.E then
  1877. if GetCastName(myHero, _E) == "EvelynnE" then
  1878. if CanUseSpell(myHero, _E) == READY then
  1879. CastTargetSpell(unit,_E)
  1880. end
  1881. end
  1882. end
  1883. -- Evelynn R
  1884. if Config.R then
  1885. if GetCastName(myHero, _R) == "EvelynnR" then
  1886. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,650,55,false,true)
  1887. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  1888. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  1889. end
  1890. end
  1891. end
  1892. end
  1893. end
  1894. end)
  1895. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Evelynn Loaded</font>"))
  1896. end
  1897.  
  1898. --Akali
  1899. if GetObjectName(GetMyHero()) == "Akali" then
  1900. --Menu
  1901. Config = scriptConfig("Akali", "Akali")
  1902. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1903. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1904. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1905. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1906. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1907. --Start
  1908. OnLoop(function(myHero)
  1909. AutoIgnite()
  1910. if Config.Combo then
  1911. local unit = GetCurrentTarget()
  1912. if ValidTarget(unit, 1550) then
  1913. if Config.Q then
  1914. if GetCastName(myHero, _Q) == "AkaliMota" then
  1915. if CanUseSpell(myHero, _Q) == READY then
  1916. CastTargetSpell(unit,_Q)
  1917. end
  1918. end
  1919. end
  1920. -- Akali E
  1921. if Config.E then
  1922. if GetCastName(myHero, _E) == "AkaliShadowSwipe" then
  1923. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,325,55,false,true)
  1924. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 325) then
  1925. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1926. end
  1927. end
  1928. -- Akali W
  1929. if Config.W then
  1930. if GetCastName(myHero, _W) == "AkaliSmokeBomb" then
  1931. if CanUseSpell(myHero, _W) == READY then
  1932. CastTargetSpell(unit,_W)
  1933. end
  1934. end
  1935. end
  1936. -- Akali R
  1937. if Config.R then
  1938. if GetCastName(myHero, _R) == "AkaliShadowDance" then
  1939. if CanUseSpell(myHero, _R) == READY then
  1940. CastTargetSpell(unit,_R)
  1941. end
  1942. end
  1943. end
  1944. end
  1945. end
  1946. end
  1947. end)
  1948. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Akali Loaded</font>"))
  1949. end
  1950.  
  1951. --Menu
  1952. if GetObjectName(GetMyHero()) == "Azir" then
  1953. --Azir
  1954. Config = scriptConfig("Azir", "Azir")
  1955. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  1956. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  1957. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  1958. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  1959. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  1960. --Start
  1961. OnLoop(function(myHero)
  1962. AutoIgnite()
  1963. if Config.Combo then
  1964. local unit = GetCurrentTarget()
  1965. if ValidTarget(unit, 1550) then
  1966.  
  1967. -- Azir W
  1968. if Config.W then
  1969. if GetCastName(myHero, _W) == "AzirW" then
  1970. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,850,55,false,true)
  1971. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  1972. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  1973. end
  1974. end
  1975. end
  1976. -- Azir Q
  1977. if Config.Q then
  1978. if GetCastName(myHero, _Q) == "AzirQ" then
  1979. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  1980. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  1981. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  1982. end
  1983. end
  1984. end
  1985. -- Azir E
  1986. if Config.E then
  1987. if GetCastName(myHero, _E) == "AzirE" then
  1988. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,850,50,false,true)
  1989. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  1990. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  1991. end
  1992. end
  1993. end
  1994. -- Azir R
  1995. if Config.R then
  1996. if GetCastName(myHero, _R) == "AzirR" then
  1997. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,250,55,false,true)
  1998. local ult = (GetCastLevel(myHero,_R)*75)+(GetBonusAP(myHero)*.6)
  1999. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) or (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.27 and CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 250) then
  2000. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  2001. end
  2002. end
  2003. end
  2004. end
  2005. end
  2006. end)
  2007. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Azir Loaded</font>"))
  2008. end
  2009.  
  2010. --Viktor
  2011. if GetObjectName(GetMyHero()) == "Viktor" then
  2012. --Menu
  2013. Config = scriptConfig("Viktor", "Viktor")
  2014. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  2015. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  2016. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  2017. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  2018. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  2019. --Start
  2020. OnLoop(function(myHero)
  2021. AutoIgnite()
  2022. if Config.Combo then
  2023. local unit = GetCurrentTarget()
  2024. if ValidTarget(unit, 1550) then
  2025.  
  2026. -- Viktor W
  2027. if Config.W then
  2028. if GetCastName(myHero, _W) == "ViktorGravitonField" then
  2029. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,700,55,false,true)
  2030. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  2031. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  2032. end
  2033. end
  2034. end
  2035. -- Viktor Q
  2036. if Config.Q then
  2037. if GetCastName(myHero, _Q) == "ViktorPowerTransfer" then
  2038. if CanUseSpell(myHero, _Q) == READY then
  2039. CastTargetSpell(unit,_Q)
  2040. end
  2041. end
  2042. end
  2043. -- Viktor E
  2044. local myorigin = GetOrigin(unit)
  2045. local mymouse = GetCastRange(myHero,_E)
  2046. if Config.E then
  2047. if GetCastName(myHero, _E) == "ViktorDeathRay" then
  2048. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  2049. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 1500) then
  2050. CastSkillShot3(_E,myorigin,myorigin)
  2051. end
  2052. end
  2053. end
  2054. -- Viktor R
  2055. if Config.R then
  2056. if GetCastName(myHero, _R) == "ViktorChaosStorm" then
  2057. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,700,55,false,true)
  2058. local ult = (GetCastLevel(myHero,_R)*200+25)+(GetBonusDmg(myHero)*1.6)
  2059. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  2060. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  2061. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  2062. end
  2063. end
  2064. end
  2065. end
  2066. end
  2067. end
  2068. end)
  2069. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Viktor Loaded</font>"))
  2070. end
  2071. -- VelKoz
  2072. if GetObjectName(GetMyHero()) == "Velkoz" then
  2073. --Menu
  2074. Config = scriptConfig("VelKoz", "VelKoz")
  2075. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  2076. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  2077. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  2078. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  2079. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  2080. --Start
  2081. OnLoop(function(myHero)
  2082. AutoIgnite()
  2083. if Config.Combo then
  2084. local unit = GetCurrentTarget()
  2085. if ValidTarget(unit, 1550) then
  2086.  
  2087. -- Velkoz E
  2088. if Config.E then
  2089. if GetCastName(myHero, _E) == "VelkozE" then
  2090. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,850,50,false,true)
  2091. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  2092. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  2093. end
  2094. end
  2095. end
  2096.  
  2097. -- Velkoz W
  2098. if Config.W then
  2099. if GetCastName(myHero, _W) == "VelkozW" then
  2100. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  2101. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 and IsInDistance(unit, 1500) then
  2102. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  2103. end
  2104. end
  2105. end
  2106. -- Velkoz Q
  2107. if Config.Q then
  2108. if GetCastName(myHero, _Q) == "VelkozQ" then
  2109. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1050,55,true,true)
  2110. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  2111. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  2112. end
  2113. end
  2114. end
  2115. -- Velkoz R
  2116. if Config.R then
  2117. if GetCastName(myHero, _R) == "VelkozR" then
  2118. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  2119. local ult = (GetCastLevel(myHero,_R)*200)+(GetBonusAP(myHero)*.6)
  2120. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  2121. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  2122. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  2123. end
  2124. end
  2125. end
  2126. end
  2127. end
  2128. end
  2129. end)
  2130. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Velkoz Loaded</font>"))
  2131. end
  2132.  
  2133. -- Ekko
  2134. if GetObjectName(GetMyHero()) == "Ekko" then
  2135. --Menu
  2136. Config = scriptConfig("Ekko", "Ekko")
  2137. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  2138. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  2139. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  2140. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  2141. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  2142. --Start
  2143. OnLoop(function(myHero)
  2144. local unit = GetCurrentTarget()
  2145. if GetCastName(myHero, _R) == "EkkoR" then
  2146. if Config.R then
  2147. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.2 and
  2148. CanUseSpell(myHero, _R) == READY and IsObjectAlive(myHero) and IsInDistance(unit, 1000) then
  2149. CastTargetSpell(myHero,_R)
  2150. end
  2151. end
  2152. end
  2153. AutoIgnite()
  2154. if Config.Combo then
  2155. local unit = GetCurrentTarget()
  2156. if ValidTarget(unit, 1200) then
  2157.  
  2158. -- Q cast
  2159. if GetCastName(myHero, _Q) == "EkkoQ" then
  2160. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1075,50,false,true)
  2161. if Config.Q then
  2162. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  2163. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  2164. end
  2165. end
  2166. end
  2167. -- W Cast
  2168. if GetCastName(myHero, _W) == "EkkoW" then
  2169. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1600,50,false,true)
  2170. if Config.W then
  2171. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  2172. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  2173. end
  2174. end
  2175. end
  2176. -- E Cast Will cast E and if im correct then GoS will click champ and Ekko will blink Cast = 325 range Blink= 425
  2177. if GetCastName(myHero, _E) == "EkkoE" then
  2178. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,750,50,false,true)
  2179. if Config.E then
  2180. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  2181. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  2182. end
  2183. end
  2184. end
  2185. -- R Cast Disabled till i manage how to Use R when low --THANKS SNOWBALL
  2186. if GetCastName(myHero, _R) == "EkkoR" then
  2187. if Config.R then
  2188. local ult = (GetCastLevel(myHero,_R)*150+50)+(GetBonusAP(myHero)*1.30)
  2189. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,325,50,false,true)
  2190. if CanUseSpell(myHero, _R) and IsInDistance(unit, 325) then
  2191. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  2192. CastSkillShot(_R,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  2193. end
  2194. end
  2195. end
  2196. end
  2197. end
  2198. end
  2199. end)
  2200. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Ekko Loaded</font>"))
  2201. end
  2202. --Nidalee
  2203. if GetObjectName(GetMyHero()) == "Nidalee" then
  2204. --Menu
  2205. Config = scriptConfig("Nidalee", "Nidalee")
  2206. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  2207. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  2208. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  2209. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  2210. Config.addParam("Q2", "Use Q2", SCRIPT_PARAM_ONOFF, true)
  2211. Config.addParam("W2", "Use W2", SCRIPT_PARAM_ONOFF, true)
  2212. Config.addParam("E2", "Use E2", SCRIPT_PARAM_ONOFF, true)
  2213. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  2214. --Start
  2215. OnLoop(function(myHero)
  2216. -- Nidalee human heal --THANKS SNOWBALL
  2217. if GetCastName(myHero, _E) == "PrimalSurge" then
  2218. if Config.E then
  2219. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.2 and
  2220. CanUseSpell(myHero, _E) == READY and IsObjectAlive(myHero) then
  2221. CastTargetSpell(myHero,_E)
  2222. end
  2223. end
  2224. end
  2225. AutoIgnite()
  2226. if Config.Combo then
  2227. local unit = GetCurrentTarget()
  2228. if ValidTarget(unit, 1500) then
  2229.  
  2230. -- Nidalee Human Trap
  2231. if GetCastName(myHero, _W) == "Bushwhack" then
  2232. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,true,true)
  2233. if Config.W then
  2234. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  2235. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  2236. end
  2237. end
  2238. end
  2239. -- Nidalee human spear
  2240. if GetCastName(myHero, _Q) == "JavelinToss"then
  2241. -- GetPredictionForPlayer(startPosition, targetUnit, targetUnitMoveSpeed, spellTravelSpeed, spellDelay, spellRange, spellWidth, collision, addHitBox)
  2242. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,true,true)
  2243. if Config.Q then
  2244. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  2245. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  2246. end
  2247. end
  2248. end
  2249. -- Tansform to cougar
  2250. if GetCastName(myHero, _R) == "AspectOfTheCougar" then
  2251. if Config.R then
  2252. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.6 and
  2253. CanUseSpell(myHero, _R) == READY and CanUseSpell(myHero, _W) == READY and CanUseSpell(myHero, _Q) ~= READY and IsInDistance(unit, 750) then
  2254. CastTargetSpell(myHero, _R)
  2255. end
  2256. end
  2257. end
  2258. -- Cougar attack Q
  2259. if GetCastName(myHero, _Q) == "Takedown" then
  2260. if Config.Q2 then
  2261. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 475) then
  2262. CastTargetSpell(unit, _Q)
  2263. end
  2264. end
  2265. end
  2266. -- Cougar pounce W
  2267. if GetCastName(myHero, _W) == "Pounce" then
  2268. if Config.W2 then
  2269. if CanUseSpell(myHero, _W) == READY and IsInDistance(unit, 375) then
  2270. CastTargetSpell(unit, _W)
  2271. end
  2272. end
  2273. end
  2274. -- E cast in cougar form
  2275. if GetCastName(myHero, _E) == "Swipe" then
  2276. if Config.E2 then
  2277. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 300) then
  2278. CastTargetSpell(unit, _E)
  2279. end
  2280. end
  2281. end
  2282. -- Transform back
  2283. if GetCastName(myHero, _R) == "AspectOfTheCougar" then
  2284. if Config.R then
  2285. if (GetCurrentHP(unit)/GetMaxHP(unit))<0.6 and
  2286. CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 750) and GotBuff(myHero, "nidaleepassivehunting") == 1 then
  2287. CastSpell(_R)
  2288. end
  2289. end
  2290. end
  2291. end
  2292.  
  2293. end
  2294. end)
  2295. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Nidalee Loaded</font>"))
  2296. end
  2297. -- Graves
  2298. if GetObjectName(GetMyHero()) == "Graves" then
  2299. --Menu
  2300. Config = scriptConfig("Graves", "Graves")
  2301. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  2302. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  2303. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  2304. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  2305. Config.addParam("Combo", "Combo", SCRIPT_PARAM_KEYDOWN, string.byte(" "))
  2306. --Start
  2307. OnLoop(function(myHero)
  2308. AutoIgnite()
  2309. if Config.Combo then
  2310. local unit = GetCurrentTarget()
  2311. local mymouse = GetMousePos()
  2312. if ValidTarget(unit, 1200) then
  2313.  
  2314. -- Q cast
  2315. if GetCastName(myHero, _Q) == "GravesClusterShot" then
  2316. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,false,true)
  2317. if Config.Q then
  2318. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  2319. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  2320. end
  2321. end
  2322. end
  2323. -- W Cast
  2324. if GetCastName(myHero, _W) == "GravesSmokeGrenade" then
  2325. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1600,50,false,true)
  2326. if Config.W then
  2327. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  2328. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  2329. end
  2330. end
  2331. end
  2332. -- E Cast
  2333. if GetCastName(myHero, _E) == "GravesMove" then
  2334. if Config.E then
  2335. CastSkillShot(_E, GetMousePos().x, GetMousePos().y, GetMousePos().z)
  2336. end
  2337. end
  2338. -- R Cast
  2339. if GetCastName(myHero, _R) == "GravesChargedShot" then
  2340. if Config.R then
  2341. local ult = (GetCastLevel(myHero,_R)*150+150)+(GetBonusDmg(myHero)*1.50)
  2342. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1000,50,true,true)
  2343. if CanUseSpell(myHero_R) == READY and RPred.HitChance == 1 and IsInDistance(target, GetCastRange(myHero,_R)) then
  2344. if CalcDamage(myHero, unit, ult) > GetCurrentHP(unit) then
  2345. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  2346. end
  2347. end
  2348. end
  2349. end
  2350.  
  2351. end
  2352. end
  2353. end)
  2354. PrintChat(string.format("<font color='#1244EA'>[CloudAIO]</font> <font color='#FFFFFF'>Graves Loaded</font>"))
  2355. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement