[AHK]Static TriggerBot

Posts 113 of 13 · Page 1 of 1
[AHK]Static TriggerBot
***Leeched***

!z:: ; Sets Hotkey To Alt+Z
PixelGetColor, initialcolour, 960, 540, RGB ; Finds Colour
status := "waiting"
while status = "waiting" {
PixelGetColor, currentcolour, 960, 540, RGB ; Checks Colour
if (initialcolour = currentcolour and status = "waiting")
Sleep, 10
else {
send {LButton}
status := "clicked"
}
}
return
Feature:

It's basically a triggerbot in autohotkey that detects the colour of where the player is looking and shoots if it detects a change (so when a enemy passes over it), this, unfortunately means the player has to stand still.

Detection?

AHK scripts been undetected for years, which means this is safe to use
it works like a normal triggerbot?
Quote Originally Posted by hogs1337 View Post
it works like a normal triggerbot?
This is kind of an odd one, you have to stand still for this to work, great for awping or holding corners
dunno why, doesn't works, do you know why?
DO NOT POST AHK SCRIPTS HERE! READ THE IMPORTANT THREADS!
Shoots when the color changes, eh? Does it shoot once you move to a different color type (darker wall etc.)?
Moved to correct section.
does this still work or at least has anyone here gotten banned for this?
You can't get banned from AHK scripts or any scripts that don't modify game data, vac is automated by detection of changed or non-official strings.
For those saying it wont work, change to windowed, and edit the codes res to the center of your screens res.
e.g; my res is 1280 x 1024 so the mid is 640 x 512, now since the screen has moved down a little bit (at least for me) because of windowed, I'll change it to 632, 526,
~F6::
PixelGetColor, initialcolour, 632, 526, RGB ; Finds Colour
status := "waiting"
while status = "waiting" {
PixelGetColor, currentcolour, 632, 526, RGB ; Checks Colour
if (initialcolour = currentcolour and status = "waiting")
Sleep, 10
else {
send {LButton}
status := "clicked"
}
}
return
Of course depending on your crosshair you'll need to edit your res a teeny bit higher or lower and sideways so it doesn't continuously look for a change in your crosshairs color (oh the joys of ahk).

Anyway, this isn't perfect yet, it still picks up particles and shoots, so maybe add variation. I tried myself, but my level of experience lies in c++.
If anyone wonders, this works in any fps game. And as other games has detected if autoit is open (even if not at all related to the game), there is a chance it could happen with cs:go and ahk because of this very script. Even if it doesn't always shoot on time.
Quote Originally Posted by MidnightJester View Post
You can't get banned from AHK scripts or any scripts that don't modify game data, vac is automated by detection of changed or non-official strings.
For those saying it wont work, change to windowed, and edit the codes res to the center of your screens res.
e.g; my res is 1280 x 1024 so the mid is 640 x 512, now since the screen has moved down a little bit (at least for me) because of windowed, I'll change it to 632, 526,

Of course depending on your crosshair you'll need to edit your res a teeny bit higher or lower and sideways so it doesn't continuously look for a change in your crosshairs color (oh the joys of ahk).

Anyway, this isn't perfect yet, it still picks up particles and shoots, so maybe add variation. I tried myself, but my level of experience lies in c++.
If anyone wonders, this works in any fps game. And as other games has detected if autoit is open (even if not at all related to the game), there is a chance it could happen with cs:go and ahk because of this very script. Even if it doesn't always shoot on time.
How does i get it to work on 1280 x 720?
Do you just copy and paste that into console? I'm new to hacks lol
The idea is very smart!
I might try it later, thanks

Quote Originally Posted by DrEvill View Post
Do you just copy and paste that into console? I'm new to hacks lol
No, you need to download AutoHotkey first, here: www. autohotkey. com (Remove the spaces!)

Then save the code from the op in a notepad in .AHK format.
Then just run the game and run the script.
any special key for the ahk to recognise the color? like hold down mouse 2 or something?
Posts 113 of 13 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?