Advertisement
Cloudhax23

Untitled

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