AutoIT Aimbot? 04-07-2013, 05:42 PM
#1
Since I found autoIt, I've attempted to write an aimbot for an fps written in unity. It shoots when it finds the person on the screen, but it doesn't move the mouse. :'(
Is there any way to fix this?
[EDIT: Updated code, still not working]
BTW, you can play the game here:
http://static_cast.home.comcast.net/old/CSP.htm
Is there any way to fix this?
Code:
Global $Paused
HotKeySet("{F9}", "TogglePause")
HotKeySet("{F10}","_Exit")
$Target = InputBox("Choose Target","1: Counter Terrorist, 2: Terrorist")
If $Target = 1 Then
$Target = 0x000085
EndIf
If $Target = 2 Then
$Target = 0x850000
EndIf
While 1
$Variable = PixelSearch(240,104,1040,904,$Target,30,5)
If IsArray($Variable) = True Then
ToolTip($Variable[0] & ", " & $Variable[1], 0, 0)
MouseMove($Variable[0], $Variable[1], 1)
MouseClick("LEFT")
EndIf
WEnd
Func TogglePause()
$Paused = Not $Paused
While $Paused
Sleep(100)
ToolTip("Aimbot Paused",0,0)
WEnd
ToolTip("")
EndFunc
Func _Exit()
Exit
EndFunc[EDIT: Updated code, still not working]
BTW, you can play the game here:
http://static_cast.home.comcast.net/old/CSP.htm
To hack is a skill, but a skill may or may not be to hack.
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)

