Jump to content

Recommended Posts

Posted

Say that i want to make a bot for the follwonig Wesbite

HERE

and i wanted to make a script that would go to Brown, then Black, then Blue. Without using pre set co-ordinates such as go to X, Y. Is there any way to make Auto It go to a Certain Color on the screen and click on it? if so how?

Posted (edited)

Ok, let me re-phrase my question, I'm trying to make an Aim Bot. and im trying to figure out if there is a way to make the mouse automatically move over and click a certain color player when he comes into screen view. Any ideas?

Edited by kforsey
Posted (edited)

thats easy just do this

hmm wait nm cause im not good with pixel search thing but ill try 1 sec need to check somin

ok here it GOES

While 1
$pix = PixelSearch("0, 0, 1023, 767, Enter color here)
MouseClick("left", $pix[0], $pix[1])
sleep(10)
wend

hmm ok let me think about this ok it should search and get pixel then send it to mouse to click there ok it should work but im not sure it might also get a error...

well ok i got it

While 1
if PixelSearch("0, 0, 1023, 767) = Enter color here Then
$pix = PixelSearch("0, 0, 1023, 767, Enter color here)
MouseClick("left", $pix[0], $pix[1])
endif
sleep(10)
wend

k that will work i think but the secound line might make a error well i dont know just try it.

Hope this helped. :)

o yea and you might need to change range it scans.

Edited by WHRobin566
Witch Hunter Robin
Posted

For the put color here part would i put in the name of the color like "blue" or would i put the code like #6633FF ?

<{POST_SNAPBACK}>

You put The hex or dem
Witch Hunter Robin

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...