[Glitch] Get rich by betting using an AHK script

Mave

TMS Founder
Administrator
Messages
140,173
Location
Belgium
So glad to see that at least one casino method still works after I got back from my holiday :biggrin:
  1. Have AHK installed https://www.autohotkey.com/
  2. Have this saved as a .ahk file
    Code:
    CoordMode, Mouse, Screen
    CoordMode, Pixel, Screen
    F4::Reload
    F7::
    horseBux:
    Loop
    {
    Loop
    {
    PixelSearch, Horse, Bux, 0, 0, 5, 5, 0x13002A, 50, Fast RGB
    Click, 1400, 900 Left, 1
    }
    Until ErrorLevel
    Loop
    {
    PixelSearch, Horse, Bux, 1544, 29, 1604, 78, 0x181718, 50, Fast RGB
    Click, 550, 350 Left, 1
    }
    Until ErrorLevel = 0
    Click, 1500, 500 Left, Down
    Click, 1500, 800, 0
    Loop
    {
    PixelSearch, Horse, Bux, 0, 0, 5, 5, 0x262A2F, 50, Fast RGB
    }
    Until ErrorLevel = 0
    Click, 1000, 1000, 0
    Loop
    {
    PixelSearch, Horse, Bux, 0, 0, 5, 5, 0xDC1300, 50, Fast RGB
    }
    Until ErrorLevel = 0
    Click, 1000, 1000 Left, Up
    Loop
    {
    PixelSearch, Horse, Bux, 0, 0, 5, 5, 0x13002A, 50, Fast RGB
    Click, 1000, 1000 Left, 1
    }
    Until ErrorLevel = 0
    }
    Return
    F8::ExitApp
  3. Run the script
  4. Boot up GTA Online
  5. Make sure game is running windowed borderless
  6. Go the casino, navigate to the horse betting, sit down and follow the steps until you've done the LMB and are at the blue/red screen
  7. Press F7
  8. Enjoy!
This should get you millions if you keep it running overnight.
 
Last edited:

Stybar

durrrr
Messages
11,673
Welp, this works. Let it run for a couple of hours this morning, made about 2mil before I got bored. I don't want to risk getting banned, so I'm just gonna let this roll for a couple of mil at a time, I think.
 

Mave

TMS Founder
Administrator
Messages
140,173
Location
Belgium
Welp, this works. Let it run for a couple of hours this morning, made about 2mil before I got bored. I don't want to risk getting banned, so I'm just gonna let this roll for a couple of mil at a time, I think.
I did 2 yesterday and 5 this morning. Going to do this as much as possible because I have a feeling this will get patched on Monday.
 

Mave

TMS Founder
Administrator
Messages
140,173
Location
Belgium
And here's the updated version to bypass Rockstar's hotfix: (for people that haven't been banned from the casino yet :biggrin:)

Code:
^+p::reload ; Ctrl + Shift + p pauses the script, to run it again you'll have to reload the script (right click on the red H icon in the system tray)
^+x:: ; Ctrl + Shift + x starts the script
; PLEASE NOTE THAT THE SCRIPT ONLY WORKS IF YOU SET THE GAME TO WINDOWED MODE AND THE RESOLUTION TO 800X600, ALSO, IT   MAY   NOT WORK IF YOU HAVE THE SCALING ON WINDOWS SET HIGHER THAN 100%!
Loop
{
    WinActivate, ahk_exe GTA5.exe
    Sleep 200
    MouseClick, left, 300, 200,,8,D
    Sleep 20
    MouseClick, left,,,,8,U
    Sleep 200
    MouseClick, left, 609, 310,,8,D
    Sleep 2850
    MouseClick, left, 609, 463,,8,D
    Sleep 35500
    MouseClick, left,,,,8,U
    MouseClick, left, 412, 581,,8,D
    Sleep 20
    MouseClick, left,,,,8,U
    Sleep 300
    MouseClick, left, 545, 505,,8,D
    Sleep 20
    MouseClick, left,,,,8,U
    Sleep 300
}
return
 
Top