SHARE
TWEET

Untitled

a guest May 21st, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <Misc.au3>
  2.  
  3. func exitTheScript()
  4.     Exit
  5. EndFunc
  6.  
  7. HotKeySet("{F12}", "exitTheScript")
  8.  
  9. Local $hDLL = DllOpen("user32.dll")
  10.  
  11. while 1
  12.  
  13.     ; Exura Ico - F1
  14.     $pixel1 = PixelGetColor(1850 , 308)
  15. If $pixel1 = 0x5D626E Then
  16.     Sleep(20)
  17.     If Not @error Then
  18.         Send("{F1 1}")
  19.     EndIf
  20.  
  21.     ; Ultimate Health Potion - F3 , Supreme Health Potion - 0 (Ins)
  22.     If Not _IsPressed("72", $hDLL) Or _IsPressed("60", $hDLL) Then
  23.         ; Mana Potion - F2
  24.         $pixel1 = PixelGetColor(1847 , 320)
  25. If $pixel1 = 0x535864 Then
  26.         Sleep(20)
  27.         If Not @error Then
  28.             Send("{F2 1}")
  29.         EndIf
  30.     EndIf
  31. Sleep(100)
  32.  WEnd
  33.  
  34. DllClose($hDLL)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top