what should this script do and can u check if my code has any mistakes because gui is not showing up.
Code:
#include <GDIPlus.au3>
#include <WinApi.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
HotKeySet( "{F10}","_Toggle")
$Size = 300
$Color = 0xFFFFAA00
$Thick = 3
$Toggle = False
Global $X=0,$Y=0
#region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Aimbot", $Size, -1, -1, $WS_POPUP,Bitor($WS_EX_LAYERED,$WS_EX_TOPMOST))
$Pic1 = GUICtrlCreatePic("bg.gif", 0, 0, $Size, $Size)
_WinAPI_SetLayeredWindowAttributes($Form1, 0x00FF00)
GUISetState(@SW_SHOW)
#endregion ### END Koda GUI section ###
_GDIPlus_Startup()
$Handle = _GDIPlus_GraphicsCreateFromHWND($Form1)
$Pencil =_GDIPlus_PenCreate($Color,$Thick)
_GDIPlus_GraphicsDrawRect($Handle,5,5,$Size-10,$Size-10,$Pencil)
While 1
If $Toggle Then
ToolTip("Mover your mouse (f10 to end)")
$pos = MouseGetPos()
WinMove("aimbot","",$Pos[0],$Pos[1])
$X = $Pos[0]
$Y = $Pos[1]
Else
ToolTip("")
Sleep(200)
EndIf
WEnd
_GDIPlus_Shutdown()
Func _Toggle()
$Toggle = Not $Toggle
EndFunc