This is my current attempt but it works only half the time for some reason despite there being no delay and my consistent 240 fps
PLEASE help
Code: Select all
#Requires AutoHotkey v2.0
savedYellow := 0
Loop {
if GetKeyState("F7")
{
yellow := PixelSearch(&pixelX, &_, 550, 548, 1370, 548, 0xFBFF00)
if yellow
{
savedYellow := pixelx
yellow := 1
if PixelGetColor(pixelX, 548) == 0xFFFFFF {
Send " "
}
}
}
}
[Mod action: Moved topic to the “Gaming” section.]