Results 1 to 2 of 2
  1. #1
    Tomeo213's Avatar
    Join Date
    Nov 2015
    Gender
    male
    Posts
    17
    Reputation
    10
    Thanks
    0
    My Mood
    Amazed

    Help with a code in autoit

    So, i just randomly tought, "Hey, maybe i can do a pixel search aimbot for a game" And i actually did some research. The problem is that whenever i turn the script on and the color is in the range, it snaps onto the ground below me. Can someone tell me what im doing wrong ?
    Here is the script:
    Code:
    HotKeySet("{HOME}","start")
    HotKeySet("{end}","stop")
    while 1
    sleep(100)
    WEnd
    func stop()
    Exit
    EndFunc
    func start()
    while 1
    $zmienna = PixelSearch(641, 357,721, 413,0x0BFF43)
    if not  @error Then
    mousemove($zmienna[0],$zmienna[1],0)
    EndIf
    WEnd
    EndFunc
    Its preatty simple
    Last edited by Tomeo213; 07-16-2016 at 12:52 PM.

  2. #2
    _NightWare's Avatar
    Join Date
    Feb 2016
    Gender
    male
    Location
    Netherlands
    Posts
    724
    Reputation
    274
    Thanks
    2,302
    My Mood
    Inspired
    Quote Originally Posted by Tomeo213 View Post
    So, i just randomly tought, "Hey, maybe i can do a pixel search aimbot for a game" And i actually did some research. The problem is that whenever i turn the script on and the color is in the range, it snaps onto the ground below me. Can someone tell me what im doing wrong ?
    Here is the script:
    Code:
    HotKeySet("{HOME}","start")
    HotKeySet("{end}","stop")
    while 1
    sleep(100)
    WEnd
    func stop()
    Exit
    EndFunc
    func start()
    while 1
    $zmienna = PixelSearch(641, 357,721, 413,0x0BFF43)
    if not  @error Then
    mousemove($zmienna[0],$zmienna[1],0)
    EndIf
    WEnd
    EndFunc
    Its preatty simple
    Glad to help you out, hit me up on Skype and I'll be able to help you.
    as the script is right now, once you start it you cant stop it xD

    The problem probably lies in the game, I'll be able to help you on Skype.

    Feel free to leave a thanks or +rep if I helped you.

    ಠ_ರೃ
    Script Squad






    [IMG]https://roblo*****m?rbxp=135887430[/IMG]

Similar Threads

  1. [Help Request] need help with injecting code/using it
    By 0xx-kyle-xx0 in forum Combat Arms Help
    Replies: 1
    Last Post: 06-17-2018, 12:02 PM
  2. Help with a code in autoit
    By Tomeo213 in forum AutoIt Scripting
    Replies: 1
    Last Post: 07-19-2016, 08:04 AM
  3. [Help Request] Help with a code
    By Chewy in forum Minecraft Help
    Replies: 3
    Last Post: 02-02-2013, 08:01 PM
  4. [Help] AutoIT Need Help With The Code! Pls!
    By mrsmokeof in forum AutoIt Scripting
    Replies: 1
    Last Post: 01-18-2013, 10:05 AM
  5. [Help Request] Help With UI Coding
    By Vincent Dominguez in forum C++/C Programming
    Replies: 1
    Last Post: 06-14-2012, 12:39 PM