#NoTrayIcon
AutoItSetOption("TrayIconHide", 1)
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=favicon.ico
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <GDIPlus.au3>
#include <WinApi.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <GDIPlus.au3>
#include <WinApi.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
HotKeySet("{F10}", "_Toggle")
HotKeySet("{q}", "killall")
HotKeySet("{Esc}", "_Exit")
HotKeySet("{e}", "test")
$Size1 = 760
$Size2 = 530
$Size3 = 225
$Size4 = 148
$Color = 0xFFFFAA00
$Thick = 3
$Toggle = False
$kill = False
$Form1 = GUICreate("Aimbot", $Size1, $Size2, -1, -1, $WS_POPUP, BitOR($WS_EX_LAYERED, $WS_EX_TOPMOST))
GUISetState()
$Pic1 = GUICtrlCreatePic("bg.gif", 0, 0, $Size1, $Size2)
$Button1 = GUICtrlCreateButton("i", -1000, -1000, -1000, -1000)
$Button2 = GUICtrlCreateButton("e", -1000, -1000, -1000, -1001)
_WinAPI_SetLayeredWindowAttributes($Form1, 0x00FF00)
_GDIPlus_Startup()
$Handle = _GDIPlus_GraphicsCreateFromHWND($Form1)
$Pencil = _GDIPlus_PenCreate($Color, $Thick)
_GDIPlus_GraphicsDrawRect($Handle, 5, 5, $Size1 - 10, $Size2 - 10, $Pencil)
_GDIPlus_GraphicsDrawRect($Handle, 540, 387, $Size3 - 10, $Size4 - 10, $Pencil)
While 1
$nMsg = GUIGetMsg()
$Bpos = WinGetPos("Aimbot")
If $Toggle Then
ToolTip("Move your mouse (f10 to end)")
$pos = MouseGetPos()
WinMove("Aimbot", "", $pos[0], $pos[1])
Else
ToolTip("")
Sleep(200)
EndIf
WEnd
$xi = $Bpos[2] - (225)
$yi = $Bpos[3] - (148)
func test()
MouseClick("primary", Random($xi, $Bpos[2], 1), Random($yi, $Bpos[3], 1), 1)
EndFunc
HotKeySet("{ESC}", "_Exit")
Func _Exit()
Exit
EndFunc ;==>_Exit
|