Advertisement
Cloudhax23

Untitled

Aug 6th, 2015
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.23 KB | None | 0 0
  1. -- VelKoz
  2. if GetObjectName(GetMyHero()) == "Velkoz" then
  3. --Menu
  4. Config = scriptConfig("VelKoz", "VelKoz")
  5. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  6. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  7. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  8. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  9. --Start
  10. OnLoop(function(myHero)
  11. AutoIgnite()
  12. if IWalkConfig.Combo then
  13. local unit = GetCurrentTarget()
  14. if ValidTarget(unit, 1550) then
  15.  
  16. -- Velkoz E
  17. if Config.E then
  18. if GetCastName(myHero, _E) == "VelkozE" then
  19. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,850,50,false,true)
  20. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  21. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  22. end
  23. end
  24. end
  25.  
  26. -- Velkoz W
  27. if Config.W then
  28. if GetCastName(myHero, _W) == "VelkozW" then
  29. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  30. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  31. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  32. end
  33. end
  34. end
  35. -- Velkoz Q
  36. if Config.Q then
  37. if GetCastName(myHero, _Q) == "VelkozQ" then
  38. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1050,55,true,true)
  39. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  40. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  41. end
  42. end
  43. end
  44. -- Velkoz R
  45. if Config.R then
  46. if GetCastName(myHero, _R) == "VelkozR" then
  47. local RPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,false,true)
  48. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 1550) then
  49. CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
  50. end
  51. end
  52. end
  53. end
  54. end
  55. end)
  56. end
  57.  
  58. if GetObjectName(GetMyHero()) == "Syndra" then
  59. --Menu
  60. Config = scriptConfig("Syndra", "Syndra")
  61. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  62. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  63. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  64. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  65. --Start
  66. OnLoop(function(myHero)
  67. AutoIgnite()
  68. if IWalkConfig.Combo then
  69. local unit = GetCurrentTarget()
  70. if ValidTarget(unit, 1200) then
  71.  
  72. -- Syndra Q cast
  73. if GetCastName(myHero, _Q) == "SyndraQ" then
  74. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,800,50,true,true)
  75. if Config.Q then
  76. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  77. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  78. end
  79. end
  80. end
  81.  
  82. -- Syndra cast W on Minion
  83. if GetCastName(myHero, _W) == "SyndraW" then
  84. if Config.W then
  85. if CanUseSpell(myHero, _W) == READY then
  86. CastTargetSpell(Obj_AI_Minion, _W)
  87. end
  88. end
  89. end
  90. -- Syndra cast W at Enemy
  91. if GetCastName(myHero, _W) == "SyndraW" then
  92. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,925,50,true,true)
  93. if Config.W then
  94. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  95. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  96. end
  97. end
  98. end
  99. -- Syndra PUSH
  100. if GetCastName(myHero, _E) == "SyndraE" then
  101. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,700,50,true,true)
  102. if Config.E then
  103. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  104. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  105. end
  106. end
  107. end
  108. -- Syndra Ultimate
  109. if GetCastName(myHero, _R) == "SyndraR" then
  110. if Config.R then
  111. if unit ~= nil then
  112. if CanUseSpell(myHero, _R) == READY and IsInDistance(unit, 675) then
  113. CastTargetSpell(myHero, _R)
  114. end
  115. end
  116. end
  117. end
  118. end
  119. end
  120. end)
  121. end
  122. -- Ekko
  123. if GetObjectName(GetMyHero()) == "Ekko" then
  124. --Menu
  125. Config = scriptConfig("Ekko", "Ekko")
  126. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  127. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  128. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  129. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  130. --Start
  131. OnLoop(function(myHero)
  132. AutoIgnite()
  133. if IWalkConfig.Combo then
  134. local unit = GetCurrentTarget()
  135. if ValidTarget(unit, 1200) then
  136.  
  137. -- Q cast
  138. if GetCastName(myHero, _Q) == "EkkoQ" then
  139. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1075,50,true,true)
  140. if Config.Q then
  141. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  142. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  143. end
  144. end
  145. end
  146. -- W Cast
  147. if GetCastName(myHero, _W) == "EkkoW" then
  148. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,1600,50,false,true)
  149. if Config.W then
  150. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  151. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  152. end
  153. end
  154. end
  155. -- E Cast Will cast E and if im correct then GoS will click champ and Ekko will blink Cast = 325 range Blink= 425
  156. if GetCastName(myHero, _E) == "EkkoE" then
  157. local EPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,750,50,false,true)
  158. if Config.E then
  159. if CanUseSpell(myHero, _E) == READY and EPred.HitChance == 1 then
  160. CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
  161. end
  162. end
  163. end
  164. -- R Cast Disabled till i manage how to Use R when low --THANKS SNOWBALL
  165. if GetCastName(myHero, _R) == "EkkoR" then
  166. if Config.R then
  167. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.2 and
  168. CanUseSpell(myHero, _R) == READY and IsObjectAlive(myHero) then
  169. CastTargetSpell(myHero,_R)
  170. end
  171. end
  172. end
  173. end
  174. end
  175. end)
  176. end
  177. --Nidalee
  178. if GetObjectName(GetMyHero()) == "Nidalee" then
  179. --Menu
  180. Config = scriptConfig("Nidalee", "Nidalee")
  181. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  182. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  183. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  184. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  185. Config.addParam("Q2", "Use Q2", SCRIPT_PARAM_ONOFF, true)
  186. Config.addParam("W2", "Use W2", SCRIPT_PARAM_ONOFF, true)
  187. Config.addParam("E2", "Use E2", SCRIPT_PARAM_ONOFF, true)
  188. --Start
  189. OnLoop(function(myHero)
  190. AutoIgnite()
  191. if IWalkConfig.Combo then
  192. local unit = GetCurrentTarget()
  193. if ValidTarget(unit, 1500) then
  194.  
  195. -- Nidalee Human Trap
  196. if GetCastName(myHero, _W) == "Bushwhack" then
  197. local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1700,250,900,50,true,true)
  198. if Config.W then
  199. if CanUseSpell(myHero, _W) == READY and WPred.HitChance == 1 then
  200. CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
  201. end
  202. end
  203. end
  204. -- Nidalee human spear
  205. if GetCastName(myHero, _Q) == "JavelinToss"then
  206. -- GetPredictionForPlayer(startPosition, targetUnit, targetUnitMoveSpeed, spellTravelSpeed, spellDelay, spellRange, spellWidth, collision, addHitBox)
  207. local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),1600,250,1500,55,true,true)
  208. if Config.Q then
  209. if CanUseSpell(myHero, _Q) == READY and QPred.HitChance == 1 then
  210. CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
  211. end
  212. end
  213. end
  214. -- Nidalee human heal --THANKS SNOWBALL
  215. if GetCastName(myHero, _E) == "PrimalSurge" then
  216. if Config.E then
  217. if (GetCurrentHP(myHero)/GetMaxHP(myHero))<0.2 and
  218. CanUseSpell(myHero, _E) == READY and IsObjectAlive(myHero) then
  219. CastTargetSpell(myHero,_E)
  220. end
  221. end
  222. end
  223. -- Tansform to cougar
  224. if GetCastName(myHero, _R) == "AspectOfTheCougar" then
  225. if Config.R then
  226. if unit ~= nil then
  227. if CanUseSpell(myHero, _R) == READY and CanUseSpell(myHero, _W) == READY and CanUseSpell(myHero, _Q) ~= READY and IsInDistance(unit, 750) and GotBuff(unit, "Hunted") then
  228. CastTargetSpell(myHero, _R)
  229. end
  230. end
  231. end
  232. end
  233. -- Cougar attack Q
  234. if GetCastName(myHero, _Q) == "Takedown" then
  235. if Config.Q2 then
  236. if CanUseSpell(myHero, _Q) == READY and IsInDistance(unit, 475) then
  237. CastTargetSpell(unit, _Q)
  238. end
  239. end
  240. end
  241. -- Cougar pounce W
  242. if GetCastName(myHero, _W) == "Pounce" then
  243. if Config.W2 then
  244. if CanUseSpell(myHero, _W) == READY and IsInDistance(unit, 375) then
  245. CastTargetSpell(unit, _W)
  246. end
  247. end
  248. end
  249. -- E cast in cougar form
  250. if GetCastName(myHero, _E) == "Swipe" then
  251. if Config.E2 then
  252. if CanUseSpell(myHero, _E) == READY and IsInDistance(unit, 300) then
  253. CastTargetSpell(unit, _E)
  254. end
  255. end
  256. end
  257. -- Transform back
  258. if GetCastName(myHero, _R) == "AspectOfTheCougar" then
  259. if Config.R then
  260. if unit ~= nil then
  261. if CanUseSpell(myHero, _R) == READY and CanUseSpell(myHero, _W) ~= READY and CanUseSpell(myHero, _Q) ~= READY then
  262. CastSpell(_R)
  263. end
  264. end
  265. end
  266. end
  267.  
  268. end
  269. end
  270. end)
  271. end
  272. -- Graves
  273. if GetObjectName(GetMyHero()) == "Graves" then
  274. --Menu
  275. Config = scriptConfig("Graves", "Graves")
  276. Config.addParam("Q", "Use Q", SCRIPT_PARAM_ONOFF, true)
  277. Config.addParam("W", "Use W", SCRIPT_PARAM_ONOFF, true)
  278. Config.addParam("E", "Use E", SCRIPT_PARAM_ONOFF, true)
  279. Config.addParam("R", "Use R", SCRIPT_PARAM_ONOFF, true)
  280. --Start
  281. OnLoop(function(myHero)
  282. local target = GetCurrentTarget()
  283. if ValidTarget(target, math.huge) then
  284. if KeyIsDown(32) then
  285. castE(target)
  286. castQ(target)
  287. castW(target)
  288. castR(target)
  289. end
  290. end
  291. end
  292. -- End
  293. -- W cast
  294. )function castW( target )
  295. if Config.W then
  296. pred = GetPredictionForPlayer(GetOrigin(target),target,GetMoveSpeed(target),math.huge,500,GetCastRange(myHero,_W),900,false,true)
  297. if IsInDistance(target, GetCastRange(myHero,_W)) and CanUseSpell(myHero,_W) == READY and pred.HitChance == 1 then
  298. CastSkillShot(_W,pred.PredPos.x,pred.PredPos.y,pred.PredPos.z)
  299. end
  300. end
  301. -- Q cast
  302. function castQ( target )
  303. if Config.Q then
  304. pred = GetPredictionForPlayer(GetOrigin(target),target,GetMoveSpeed(target),math.huge,500,GetCastRange(myHero,_Q),900,false,true)
  305. if IsInDistance(target, GetCastRange(myHero,_Q)) and CanUseSpell(myHero,_Q) == READY and pred.HitChance == 1 then
  306. CastSkillShot(_Q,pred.PredPos.x,pred.PredPos.y,pred.PredPos.z)
  307. end
  308. end
  309. -- E cast
  310. end
  311. function castE( target )
  312. if Config.E then
  313. if IsInDistance(target, GetCastRange(myHero,_E)) and CanUseSpell(myHero,_E) == READY then
  314. CastSkillShot(_E, GetMousePos().x, GetMousePos().y, GetMousePos().z)
  315. end
  316. end
  317.  
  318. -- R cast
  319. -- R cast
  320. function castR( target )
  321. pred = GetPredictionForPlayer(GetOrigin(target),target,GetMoveSpeed(target),math.huge,500,GetCastRange(myHero,_R),950,false,true)
  322. if CanUseSpell(myHero_R) == READY and pred.HitChance == 1 and IsInDistance(target, GetCastRange(myHero,_R)) and Config.R and CalcDamage(myHero, target, (150*GetCastLevel(myHero,_R)+100+1.5*GetBonusDmg(myHero)), 0) > GetCurrentHP(target) then
  323. CastSkillShot(_R,pred.PredPos.x,pred.PredPos.y,pred.PredPos.z)
  324. end
  325. end
  326. end
  327. end
  328. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement