Advertisement
Koelion

Singed bot Evil Laugh 0.6.1

May 11th, 2013
643
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.67 KB | None | 0 0
  1. --[[
  2. Singed v0.6.1 with evil laugh by koelionek
  3. Features:
  4. - Invisible poison
  5. - Combo ITEMS > Q > R > W > E
  6. - Use E
  7. - Auto Ks with E
  8. - Move to mouse
  9. - Drawing on/off
  10. - SpamChat with hahhhahah and evil laugh
  11. - Evil Laugh Spam
  12. +Evil Laugh (only in evil laugh version)
  13.  
  14. Hotkeys:
  15. - Invisible poison - z
  16. - Combo - spacebar
  17. - throw with E - x
  18. - SpamChat with hahhhahah and evil laugh - s
  19. - Evil Laugh Spam - t
  20. ]]
  21.  
  22. if myHero.charName ~= "Singed" then return end
  23.  
  24. local ts
  25.  
  26. local wDelay = 900
  27. local wRange = 1000
  28. local eRange = 190
  29. local comborange = 650
  30.  
  31. local ignite = nil
  32. local DFGSlot, HXGSlot, BWCSlot, SheenSlot, TrinitySlot, LichBaneSlot, TMTSlot, RAHSlot, RNDSlot, STDSlot = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil
  33. local QREADY, WREADY, EREADY, RREADY, DFGREADY, HXGREADY, BWCREADY, IREADY, TMTREADY, RAHREADY, RNDREADY, STDREADY, BRKREADY = false, false, false, false, false, false, false, false, false, false, false, false, false
  34.  
  35. function OnLoad()
  36.  
  37. SingedConfig = scriptConfig("Singed", "Singed")
  38. SingedConfig:addParam("combo", "Combo", SCRIPT_PARAM_ONKEYDOWN, false, 32)
  39. SingedConfig:addParam("invispoison", "Invisible Poison Poofs", SCRIPT_PARAM_ONKEYDOWN, false, 90)
  40. SingedConfig:addParam("throwAA", "Throw and AA", SCRIPT_PARAM_ONKEYDOWN, false, 88)
  41. SingedConfig:addParam("spam", "Spam chat with hahahha", SCRIPT_PARAM_ONKEYDOWN, false, 83)
  42. SingedConfig:addParam("laugh", "Spam Laugh", SCRIPT_PARAM_ONKEYDOWN, false, 84)
  43. SingedConfig:addParam("autoignite", "Ignite when Killable", SCRIPT_PARAM_ONOFF, true)
  44. SingedConfig:addParam("move", "Move to mouse", SCRIPT_PARAM_ONOFF, true)
  45. SingedConfig:addParam("ulti", "Ulti in Combo", SCRIPT_PARAM_ONOFF, true)
  46. SingedConfig:addParam("ecombo", "E in Combo", SCRIPT_PARAM_ONOFF, true)
  47. SingedConfig:addParam("eks", "Killsteal with E", SCRIPT_PARAM_ONOFF, true)
  48. SingedConfig:addParam("evillaugh", "Evil Laugh", SCRIPT_PARAM_ONOFF, true)
  49. SingedConfig:addParam("draw", "Draw Circles", SCRIPT_PARAM_ONOFF, true)
  50. SingedConfig:addParam("drawenemy", "Draw Target", SCRIPT_PARAM_ONOFF, true)
  51.  
  52. SingedConfig:permaShow("combo")
  53. SingedConfig:permaShow("invispoison")
  54. SingedConfig:permaShow("throwAA")
  55.  
  56. ts = TargetSelector(TARGET_LOW_HP, comborange, DAMAGE_MAGIC,false)
  57. ts.name = "Singed"
  58. SingedConfig:addTS(ts)
  59.  
  60. if myHero:GetSpellData(SUMMONER_1).name:find("SummonerDot") then ignite = SUMMONER_1
  61. elseif myHero:GetSpellData(SUMMONER_2).name:find("SummonerDot") then ignite = SUMMONER_2
  62. end
  63.  
  64. PrintChat(" >> Singed Invisible Poisoner Loaded")
  65.  
  66. end
  67.  
  68.  
  69.  
  70. function OnTick()
  71.  
  72. ts:update()
  73.  
  74. DFGSlot, BRKSlot, HXGSlot, BWCSlot = GetInventorySlotItem(3153), GetInventorySlotItem(3128), GetInventorySlotItem(3146), GetInventorySlotItem(3144)
  75. DFGREADY = (DFGSlot ~= nil and myHero:CanUseSpell(DFGSlot) == READY)
  76. HXGREADY = (HXGSlot ~= nil and myHero:CanUseSpell(HXGSlot) == READY)
  77. BWCREADY = (BWCSlot ~= nil and myHero:CanUseSpell(BWCSlot) == READY)
  78. BRKREADY = (BRKSlot ~= nil and myHero:CanUseSpell(BRKSlot) == READY)
  79. TMTREADY = (TMTSlot ~= nil and myHero:CanUseSpell(TMTSlot) == READY)
  80. RAHREADY = (RAHSlot ~= nil and myHero:CanUseSpell(RAHSlot) == READY)
  81. RNDREADY = (RNDSlot ~= nil and myHero:CanUseSpell(RNDSlot) == READY)
  82. QREADY = (myHero:CanUseSpell(_Q) == READY)
  83. WREADY = (myHero:CanUseSpell(_W) == READY)
  84. EREADY = (myHero:CanUseSpell(_E) == READY)
  85. RREADY = (myHero:CanUseSpell(_R) == READY)
  86. iReady = (ignite ~= nil and myHero:CanUseSpell(ignite) == READY)
  87.  
  88. if SingedConfig.invispoison then
  89. invisiblepoison()
  90. end
  91.  
  92. if SingedConfig.throwAA then
  93. throandaa()
  94. end
  95.  
  96. if SingedConfig.autoignite then
  97. autoignite()
  98. end
  99.  
  100. if SingedConfig.combo then
  101. combo()
  102. end
  103.  
  104. if SingedConfig.eks then
  105. autoks()
  106. end
  107.  
  108. if SingedConfig.spam then
  109. spamchat()
  110. end
  111.  
  112. if SingedConfig.laugh then
  113. spamlaugh()
  114. end
  115.  
  116. end
  117.  
  118.  
  119. function invisiblepoison()
  120.  
  121. if QREADY then
  122. CastSpell(_Q)
  123. end
  124.  
  125. if SingedConfig.evillaugh and not SingedConfig.spam then
  126. SendChat("/l")
  127. end
  128.  
  129. if SingedConfig.move then
  130. myHero:MoveTo(mousePos.x, mousePos.z)
  131. end
  132.  
  133.  
  134. end
  135.  
  136.  
  137. function throandaa()
  138.  
  139. if EREADY and ts.target ~= nil then
  140. CastSpell(_E,ts.target)
  141. myHero:Attack(ts.target)
  142. if QREADY and GetDistance(ts.target) < 200 then
  143. CastSpell(_Q)
  144. end
  145. end
  146.  
  147. if SingedConfig.evillaugh and not SingedConfig.spam then
  148. SendChat("/l")
  149. end
  150.  
  151. if SingedConfig.move then
  152. myHero:MoveTo(mousePos.x, mousePos.z)
  153. end
  154.  
  155.  
  156. end
  157.  
  158.  
  159. function autoignite()
  160.  
  161. if iReady then
  162. local ignitedmg = 0
  163. for i = 1, heroManager.iCount, 1 do
  164. local enemyhero = heroManager:getHero(i)
  165. if ValidTarget(enemyhero,600) then
  166. ignitedmg = 50 + 20 * myHero.level
  167. if enemyhero.health <= ignitedmg then
  168. CastSpell(ignite, enemyhero)
  169. end
  170. end
  171. end
  172. end
  173.  
  174. end
  175.  
  176.  
  177. function combo()
  178.  
  179. if ts.target ~= nil and comborange >= GetDistance(ts.target) then
  180.  
  181. if GetDistance(ts.target) < 598 then
  182.  
  183. if DFGREADY then CastSpell(DFGSlot, ts.target) end
  184. if HXGREADY then CastSpell(HXGSlot, ts.target) end
  185. if BWCREADY then CastSpell(BWCSlot, ts.target) end
  186. if BRKREADY then CastSpell(BRKSlot, ts.target) end
  187. if TMTREADY and GetDistance(ts.target) < 275 then CastSpell(TMTSlot) end
  188. if RAHREADY and GetDistance(ts.target) < 275 then CastSpell(RAHSlot) end
  189. if RNDREADY and GetDistance(ts.target) < 275 then CastSpell(RNDSlot) end
  190.  
  191. end
  192.  
  193. if QREADY then
  194. CastSpell(_Q)
  195. end
  196.  
  197. if RREADY and SingedConfig.ulti then
  198. CastSpell(_R)
  199. end
  200.  
  201. if WREADY and not myHero.dead then
  202. WPos = GetPredictionPos(ts.target, wDelay)
  203. end
  204.  
  205. if WPos ~= nil and ValidTarget(ts.target, Wrange) then
  206. CastSpell(_W, WPos.x, WPos.z)
  207. end
  208.  
  209. if EREADY and SingedConfig.ecombo then
  210. CastSpell(_E,ts.target)
  211. myHero:Attack(ts.target)
  212. end
  213. end
  214.  
  215. if SingedConfig.evillaugh and not SingedConfig.spam then
  216. SendChat("/l")
  217. end
  218.  
  219. if SingedConfig.move then
  220. myHero:MoveTo(mousePos.x, mousePos.z)
  221. end
  222.  
  223. end
  224.  
  225.  
  226. function autoks()
  227.  
  228. if EREADY then
  229. for i=1, heroManager.iCount do
  230. Target = heroManager:GetHero(i)
  231. eDMG=getDmg("E",Target,myHero)
  232.  
  233. if Target ~= nil and Target.team ~= myHero.team and not Target.dead and Target.visible and GetDistance(Target) < eRange + 100 and Target.health < eDMG then
  234. CastSpell(_E, Target)
  235. if SingedConfig.evillaugh and not SingedConfig.spam then
  236. SendChat("/l")
  237. SendChat("/all Hahahhahahaha")
  238. end
  239. end
  240. end
  241. end
  242.  
  243. end
  244.  
  245.  
  246. function spamchat()
  247.  
  248. SendChat("/all Hahahhahahaha")
  249. SendChat("/l")
  250.  
  251. if SingedConfig.move then
  252. myHero:MoveTo(mousePos.x, mousePos.z)
  253. end
  254.  
  255. end
  256.  
  257.  
  258. function spamlaugh()
  259.  
  260. SendChat("/l")
  261.  
  262. if SingedConfig.move then
  263. myHero:MoveTo(mousePos.x, mousePos.z)
  264. end
  265.  
  266. end
  267.  
  268.  
  269. function OnDraw()
  270.  
  271. local coloraqua=ARGB(0xFF,0x00,0xFF,0xFF)
  272. local colorblue=ARGB(0xFF,0x0F,0x0F,0xFF)
  273. local colorwhite=ARGB(0xFF,0xF0,0xFF,0xFF)
  274. local colorred=ARGB(0xFF,0xFF,0x00,0x00)
  275. local colorgreen=ARGB(0xFF,0x00,0xFF,0x00)
  276. local colordarkblue=ARGB(0xFF,0x00,0x00,0x8B)
  277. local colordarkred=ARGB(0xFF,0x8B,0x00,0x00)
  278. local colorlime=ARGB(0xFF,0x00,0xFF,0x00)
  279.  
  280. if SingedConfig.draw then
  281.  
  282. DrawCircle(myHero.x, myHero.y, myHero.z,eRange, colorlime)
  283. DrawCircle(myHero.x, myHero.y, myHero.z,comborange, coloraqua)
  284. DrawCircle(myHero.x, myHero.y, myHero.z,wRange, colordarkblue)
  285. end
  286.  
  287. if ValidTarget(ts.target) and SingedConfig.drawenemy then
  288. DrawText("Targetting: " .. ts.target.charName, 18, 750, 40, 0xFFFF0000)
  289. for i=0, 10 do
  290. DrawCircle(ts.target.x, ts.target.y, ts.target.z, 60 + i*1.5, coloraqua)
  291. end
  292. end
  293.  
  294. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement