Advertisement
Cloudhax23

Untitled

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