When it is set to 'on' it scans for and fires at Counter-Terrorist (only with the included models!) To turn on/off press F1 (off by default) I called this the GuideBot because it isn't really an aimbot and isn't perfect, you sorta have to add a few more shots along with the bot's to make it effective. Warnings and other crap.. I suggest you create a listen server (the text that says Create Server in the main screen) to use it. I havn't tested it in a public server, so even though its autoit, i dunno what to expect. I named it bikini.au3 just in case CS searches for a process that has aimbot in it's name. This is ONLY for terrorists right now, i will create a CT version soon too, i only created it so far to check if it works (and it does!) Models: http://www.megaupload.com/?d=YZLDUYY2 To use them place them in your steam/steamapps/youraccount/counter-strike source/cstrike/materials folder. Rename the old models folder if u have one. Source Code: #include <Misc.au3>
#include <array.au3>
Global $on = 0;On/Off Variable
Global $coords;Coords needed to click
Hotkeyset("{F1}", "_power");On/Off Key
Global $colorswitch = 0
While 1;Start Loop
Sleep(50);Pause
If $on = 1 Then
If $colorswitch = 0 Then
$colorswitch = 1
$coords = PixelSearch(60, 40, 600, 430, 0x080A32, 5, 3);Search for cts in shadows
If IsArray($coords) Then;Check if we found any
MouseClick("Left", $coords[0], $coords[1] + 2, 2, 1);SHOOT!
$colorswitch = 0
EndIf
EndIf
EndIf
Sleep(100);Pause
If $colorswitch = 1 Then
If $on = 1 Then;Only search if its on.
$colorswitch = 0
$coords = PixelSearch(60, 40, 600, 430, 0x0000FE, 70, 3);Search for cts
If IsArray($coords) Then;Check if we found any
MouseClick("Left", $coords[0], $coords[1] + 2, 2, 1);SHOOT!
$colorswitch = 1
EndIf
EndIf
EndIf
Wend
Func _power();On/Off Function
If $on = 1 Then
$on = 0
Else
$on = 1
EndIf
EndFunc Please help me improve my code by giving updated and better code! /EDIT Make sure its in 640x480, otherwise youll have to change the pixelsearch area