Payback anti away from keyboard script

Posts 1–8 of 8 · Page 1 of 1
Payback anti away from keyboard script
This is by no means perfect... This was only meant for personal use..
Download AutoHotkey
Make a new .ahk file (text file extension renamed.)
Ctrl+Shift+C to get the color and mouse coords
Ctrl+V to paste color and mouse coords after the previous command
F12 to run script once you're looking at the home screen.

$^+C::
MouseGetPos mx, my
PixelGetColor color, %mx%, %my%
clipboard = %color%, %mx%, %my%
MsgBox, Color: %color%`nMouse X/Y: %mx%, %my%
return

+^S::Suspend
#IfWinActive Counter-Strike: Global Offensive
F12::
Loop
{
PixelGetColor,homescreen, 348, 292 ;;0x87B2BD a color on your steam profile picture you will need to change this part
PixelGetColor,gobutton, 1430, 950
If homescreen = 0x87B2BD ;;change this!
{
Click 1047, 672 ;;disconnected ok button
click 1149, 282 ;;payback button
Soundbeep
Sleep 15000
click 1476, 947 ;;go button
Sleep 15000
click 972, 972 ;;auto select
}
else
{
If gobutton = 0x000000
{
click 1476, 947 ;;go button
Sleep 15000
click 972, 972 ;;auto select
}

else
{
Send {w down} ;;anti away from keyboard stuff
Send {3}
Click
Sleep 1000
Send {w up}
Send {5}
Send {g}
}

Sleep 100000
}
}
return
look awesome! thanks
hi there does this script works on MAC ? if yes how ? is anyone can explain please ?
this script does not work with my cs go, can anyone explain me what i must do with changing color? may be i did something wrong, but when i push f12 nothing happens...
Yeah, it does work you just need to press Ctrl+Shift+C to get the co-ordinates and the colors and replace the values
Quote Originally Posted by Hueu View Post
Yeah, it does work you just need to press Ctrl+Shift+C to get the co-ordinates and the colors and replace the values
all colors and coords, or only this? what is go button?

PixelGetColor,homescreen, 254, 197 ;;0xF8F6F2 a color on your steam profile picture you will need to change this part
PixelGetColor,gobutton, 1430, 950
If homescreen = 0xF8F6F2 ;;change this!
bump bump bump
Sorry I didn't explain well...
So for example I get this...
0xFFFFFF, 710, 878

Before:
PixelGetColor,homescreen, 254, 197 ;;0xF8F6F2 a color on your steam profile picture you will need to change this part
PixelGetColor,gobutton, 1430, 950
If homescreen = 0xF8F6F2 ;;change this!

After:
PixelGetColor,homescreen, 710, 878 ;;0xF8F6F2 a color on your steam profile picture you will need to change this part
PixelGetColor,gobutton, 1430, 950
If homescreen = 0xFFFFFF ;;change this!

And if you use different resolutions you might have to do it for other things like the gobutton etc..
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?