Sry aber ich bin erst 10 Jahre und des ist mein Erstes Ding was ich erstellt habe... Also für mich war es nicht so einfach.
mal der source... credits: Understood (IG USER)Quote:
HotKeySet("{s}", "_StartBot")
HotKeySet("{p}", "_PauseBot")
HotKeySet("{e}", "_EndeBot")
Global $Active = 0
While 1
If $Active = 1 Then
$BallPosition = PixelSearch(118, 336, 587, 647, 0xE2FFDB, 15)
If IsArray($BallPosition) Then
MouseMove($BallPosition[0], $BallPosition[1], 1)
EndIf
EndIf
WEnd
Func _StartBot()
$Active = 1
EndFunc
Func _PauseBot()
$Active = 0
EndFunc
Func _EndeBot()
Exit
EndFunc
|
|