Advertisement
Guest User

Time Clickers - Upgrades script

a guest
Sep 9th, 2015
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. f2::
  2.  
  3. j:= 1
  4.  
  5. pixelfind:
  6. loop
  7. {  
  8. StartTime := A_TickCount
  9. ElapsedTime := 0
  10. send 7
  11. send 0
  12. loop
  13. {
  14. PixelSearch, Px, Py, 632, 73, 643, 84, 0x0000FF, 0, fast
  15. PixelGetColor, color1, %Px%, %Py%
  16. PixelSearch, Px2, Py2, 645, 73, 656, 84, 0x0000FF, 0, fast
  17. PixelGetColor, color12, %Px2%, %Py2%
  18. PixelGetColor, color4, 557, 152 ;boss timer
  19. ElapsedTime := A_TickCount - StartTime
  20. } until color1 = 0x0000FF and color12 = 0x0000FF or ElapsedTime > 22000 or color4 = 0xFFA364
  21. send {space}
  22. ElapsedTime := A_TickCount - StartTime
  23. if ElapsedTime > 22000
  24.     continue smallupgrades
  25. }Until Getkeystate("f6","P")
  26.  
  27. weapons:
  28. loop
  29. {
  30. if (j = 1)
  31. {
  32.     send a
  33.     sleep 200
  34.     send s
  35.     send d
  36.     send f
  37.     send g
  38.     j++
  39.     continue, pixelfind
  40. }
  41.    
  42. else if (j = 2)
  43. {
  44.     send s
  45.     sleep 200
  46.     send d
  47.     send f
  48.     send g
  49.     send a
  50.     j++
  51.     continue pixelfind 
  52. }
  53. else if (j = 3)
  54. {
  55.     send d
  56.     sleep 200
  57.     send f
  58.     send g
  59.     send a
  60.     send s
  61.     j++
  62.     continue pixelfind 
  63. }
  64. else if (j = 4)
  65. {
  66.     send f
  67.     sleep 200
  68.     send g
  69.     send a
  70.     send s
  71.     send d
  72.     j++
  73.     continue pixelfind
  74. }
  75.    
  76. else if (j = 5)
  77. {
  78.     send g
  79.     sleep 200
  80.     send a
  81.     send s
  82.     send d
  83.     send f
  84.     j:=1
  85.     continue pixelfind
  86. }
  87. }Until Getkeystate("f6","P")
  88.  
  89. smallupgrades:
  90. loop
  91. {
  92. varyy := 223
  93. PixelGetColor, color1, 21, %varyy%
  94. varyy := varyy + 82
  95. PixelGetColor, color2, 21, %varyy%
  96. varyy := varyy + 82
  97. PixelGetColor, color3, 21, %varyy%
  98. varyy := varyy + 82
  99. PixelGetColor, color4, 21, %varyy%
  100. varyy := varyy + 82
  101. PixelGetColor, color5, 21, %varyy%
  102.  
  103. if (color1 = "0x000040" or color1 = "0x007BFF" or color1 = "0x000000" or color1 = "0x00FF29")
  104.     send a
  105. if (color2 = "0x000040" or color2 = "0x007BFF" or color2 = "0x000000" or color2 = "0x00FF29")
  106.     send s
  107. if (color3 = "0x000040" or color3 = "0x007BFF" or color3 = "0x000000" or color3 = "0x00FF29")
  108.     send d
  109. if (color4 = "0x000040" or color4 = "0x007BFF" or color4 = "0x000000" or color4 = "0x00FF29")
  110.     send f
  111. if (color5 = "0x000040" or color5 = "0x007BFF" or color5 = "0x000000" or color5 = "0x00FF29")
  112.     send
  113. sleep 500
  114. continue weapons
  115. }Until Getkeystate("f6","P")
  116.  
  117. return
  118. f6:: pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement