Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #SingleInstance force ; if script is opened again, replace instance
- #Persistent ; script stays in memory until ExitApp is called or script crashes
- global title := "Clicker Heroes" ; we will exact match against this for steam version
- #persistent
- combo1:="3-5"
- combo2:="8-9"
- combo3:="2-3-4-5-6-7"
- combo4:="2-3-4"
- combo5:="2"
- return
- f9::reload ;this will reload the script, pressinf f1 will start it over again
- f1::
- loop
- {
- getClickables()
- UseCombo(combo1,93000) ; use lucky strikes and golden clicks and wait 93 seconds
- getClickables()
- UseCombo(combo2,1000) ; use energizer refresh to reset previous and wait a second
- UseCombo(combo3,151000) ; use full combo and wait 2.5 minutes
- getClickables()
- UseCombo(combo5,151000) ; use powerstorm and wait 2.5 minutes
- getClickables()
- UseCombo(combo5,151000) ; use powerstorm and wait 2.5 minutes
- getClickables()
- UseCombo(combo4,151000) ; use mini combo and wait 2.5 minutes
- getClickables()
- UseCombo(combo5,151000) ; use powerstorm and wait 2.5 minutes
- getClickables()
- UseCombo(combo5,151000) ; use powerstorm and wait 2.5 minutes at this point everything should be back off cooldown
- }
- return
- UseCombo(c,sleepAmount) {
- sleep 500 ;comment out if you want, I noticed all your hotkeys had 500 sleep though.
- loop,parse,c,-
- {
- ;send %a_loopfield%
- ControlSend,,%a_loopfield%, %title%
- sleep 100
- }
- getClickables()
- sleep %sleepAmount%
- }
- f8::exitapp ;always have an emergency shutdown when dealing with loops
- getClickables() {
- ; clickable positions
- ControlClick,, %title%,,,, x505 y460 NA
- sleep 100
- ControlClick,, %title%,,,, x730 y400 NA
- sleep 100
- ControlClick,, %title%,,,, x745 y450 NA
- sleep 100
- ControlClick,, %title%,,,, x745 y340 NA
- sleep 100
- ControlClick,, %title%,,,, x850 y480 NA
- sleep 100
- ControlClick,, %title%,,,, x990 y425 NA
- sleep 100
- ControlClick,, %title%,,,, x1030 y410 NA
- return
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement