Code: Select all
#include <Misc.au3>
HotKeySet("{e}", SendKey)
While 1
Sleep(1000)
WEnd
Func Sendkey()
If PixelGetColor(581, 956) = 0x626262 Then
Send(1)
EndIf
HotKeySet("e", "Nothing")
MouseDown("left")
Do
Sleep(10)
Until Not _IsPressed("45")
MouseUp("left")
HotKeySet("e", "Sendkey")
EndFunc
Been trying for 4 days lol Im stupid:(