Jump to content

Autoit Color Bot


Recommended Posts

Hey

I need help with an Color Aimbot i made for Quake3 i used _MouseMoveRelative but the prob is its still moving to far so when it sees the color its not rly aiming

Global $searchcolor = 0xFF0000

Opt("MouseCoordMode", 0)
Opt("PixelCoordMode", 0)
Opt("MouseClickDelay", 0)
Opt("MouseClickDownDelay", 0)

While 1
    $coord = PixelSearch(10, 10, 800, 600, $searchcolor)
            If IsArray($coord) = 1 Then
                _MouseMoveRelative($coord[0] - MouseGetPos(0), $coord[1] - MouseGetPos(1))
WEnd
Link to comment
Share on other sites

try this:

Global $searchcolor = 0xFF0000

Opt("MouseCoordMode", 1)
Opt("PixelCoordMode", 1)
Opt("MouseClickDelay", 0)
Opt("MouseClickDownDelay", 0)

While 1
    $coord = PixelSearch(10, 10, 800, 600, $searchcolor)
            If IsArray($coord) = 1 Then
               MouseMove($coord[0], $coord[1])
            EndIf
WEnd
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...