Advertisement
Guest User

Untitled

a guest
Jul 11th, 2015
604
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #SingleInstance force ; if script is opened again, replace instance
  2. #Persistent ; script stays in memory until ExitApp is called or script crashes
  3.  
  4. global title := "Clicker Heroes" ; we will exact match against this for steam version
  5.  
  6. #persistent
  7. combo1:="3-5"
  8. combo2:="8-9"
  9. combo3:="2-3-4-5-6-7"
  10. combo4:="2-3-4"
  11. combo5:="2"
  12. return
  13.  
  14. f9::reload   ;this will reload the script, pressinf f1 will start it over again
  15.  
  16.  
  17. f1::
  18. loop
  19. {
  20. getClickables()
  21. UseCombo(combo1,93000)  ; use lucky strikes and golden clicks and wait 93 seconds
  22. getClickables()
  23. UseCombo(combo2,1000)   ; use energizer refresh to reset previous and wait a second
  24. UseCombo(combo3,151000) ; use full combo and wait 2.5 minutes
  25. getClickables()
  26. UseCombo(combo5,151000) ; use powerstorm and wait 2.5 minutes
  27. getClickables()
  28. UseCombo(combo5,151000) ; use powerstorm and wait 2.5 minutes
  29. getClickables()
  30. UseCombo(combo4,151000) ; use mini combo and wait 2.5 minutes
  31. getClickables()
  32. UseCombo(combo5,151000) ; use powerstorm and wait 2.5 minutes
  33. getClickables()
  34. UseCombo(combo5,151000) ; use powerstorm and wait 2.5 minutes at this point everything should be back off cooldown
  35. }
  36. return
  37.  
  38.  
  39. UseCombo(c,sleepAmount) {
  40. sleep 500 ;comment out if you want, I noticed all your hotkeys had 500 sleep though.
  41. loop,parse,c,-
  42. {
  43. ;send %a_loopfield%
  44. ControlSend,,%a_loopfield%, %title%
  45. sleep 100
  46. }
  47. getClickables()
  48. sleep %sleepAmount%
  49. }
  50.  
  51. f8::exitapp  ;always have an emergency shutdown when dealing with loops
  52.  
  53. getClickables() {
  54.     ; clickable positions
  55.     ControlClick,, %title%,,,, x505 y460 NA
  56.     sleep 100
  57.     ControlClick,, %title%,,,, x730 y400 NA
  58.     sleep 100
  59.     ControlClick,, %title%,,,, x745 y450 NA
  60.     sleep 100
  61.     ControlClick,, %title%,,,, x745 y340 NA
  62.     sleep 100
  63.     ControlClick,, %title%,,,, x850 y480 NA
  64.     sleep 100
  65.     ControlClick,, %title%,,,, x990 y425 NA
  66.     sleep 100
  67.     ControlClick,, %title%,,,, x1030 y410 NA
  68.  
  69.     return
  70. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement