Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; This macro is made to automatically use items such as Comets, Coin Jars, Piñatas, Lucky Blocks...
- ; When using make sure you have atleast 1 of each item in the "Boosts" category. If you dont, getting any new item will break this macro.
- ; This macro was made by Der3_Al3arab pls give credits if you are doing a video about it.
- ; Ignore these 2 lines.
- #MaxThreadsPerHotKey, 2
- Toggle := 0
- ; This variable is the wait time between each use.
- ; You should keep it at 3+ seconds because of the lag that happens when you grind for a long time. If your fps is low, you may want to increase it so it doesnt open the pet inventory (double press F)
- WaitTimeBetweenUses := 3333
- F1::
- Toggle := !Toggle
- MouseGetPos, mouseX, mouseY
- PixelGetColor, colorItem, %mouseX%, %mouseY%
- While (Toggle) {
- Click,
- Sleep, 1111
- PixelSearch, tapX, tapY, (%mouseX% - 5), (%mouseY% - 5), (%mouseX% + 5), (%mouseY% + 5), %colorItem%, 1, fast, RGB
- if (tapX){
- Sleep, WaitTimeBetweenUses
- } else {
- if (Toggle) {
- Send, F
- Sleep, WaitTimeBetweenUses
- }
- }
- }
- return
Advertisement