I have been working on this for days now and still not working, in the game I play the health goes red when it gets low and I want it to press A when it turns red, there are no gameguards to block autoIt because PixelTrigger http://www.autoitscript.com/forum/index.ph...hl=pixeltrigger
If I pick red in pixeltrigger and I point the gun at red in the game it will shoot I just need my script to watch a pixel or area and when it turns red press a for me when its red what I have works on Screenshot but not in game could someone please help me out sure it's easy for you guys I'm trying and I'm new at it Thanks.
Recommended Posts
spec1
I have been working on this for days now and still not working, in the game I play the health goes red when it gets low and I want it to press A when it turns red, there are no gameguards to block autoIt because PixelTrigger http://www.autoitscript.com/forum/index.ph...hl=pixeltrigger
If I pick red in pixeltrigger and I point the gun at red in the game it will shoot I just need my script to watch a pixel or area and when it turns red press a for me when its red what I have works on Screenshot but not in game could someone please help me out sure it's easy for you guys I'm trying and I'm new at it Thanks.
$coord = PixelSearch( 0, 0, 45, 767, 0xb52829, 10 )
If Not @error then
send("{A}")
Sleep(2000)
Endif
$coord = PixelSearch( 0, 0, 45, 767, 0x2128B5 )
If Not @error then
send("{A}")
sleep(2000)
endif
wend
Link to comment
Share on other sites