Code:
#include <guiconstants.au3>
#Region ### START Koda GUI section ### Form=
$Klickbot = GUICreate ("Klickbot by Neo95Heavy",300,100,450,250)
GUISetCursor(0)
GUICtrlCreateLabel("Made by Neo95Heavy",100,10,150,83)
$Button1 = GUICtrlCreateButton("Start",0,33,150,50)
$Button2 = GUICtrlCreateButton("Stopp",150,33,150,50)
GUISetBkColor(0xF0F0F0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
While 1
Func
MOUSECLICK("Left")
SLEEP(500)
WEnd
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button2
While 1
EndFunc
Sleep(0)
WEnd
EndSwitch
WEnd
Wer cool wen wer helfen könnte.
Aja habe erst seit gestern mit Autoit zu tuen also bin darin noch ein ziemlicher noob^^
Wer noch übrige Fehler sieht, bitte diese auch melden. Danke







