Advertisement
VADemon

Turret Minigun Clicker - Steam Summer Sale 2018

Jun 21st, 2018
1,703
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 1.06 KB | None | 0 0
  1. ;Script by VADemon - http://steamcommunity.com/profiles/76561198033268090
  2. ;Melody by Mast3rpyr0 - http://www.autoitscript.com/forum/topic/50598-musical-melodies/page__hl__beep+song
  3. ;RMG_IWontDie - I won't die! bot v1.1 - http://youtu.be/N84HpPYxgSY
  4.  
  5. #include <Misc.au3>
  6. #include <WinAPI.au3>
  7.  
  8. AutoItSetOption("MouseCoordMode", 2) ; relative to window client area
  9. AutoItSetOption("SendKeyDownDelay", 1200)
  10.  
  11. Global $yes=0
  12.  
  13. Global $user32 = DLLOpen("user32.dll")
  14.  
  15. while 1
  16.     ; 21 - Page Up
  17.     If _IsPressed("21", $user32) then
  18.         setting()
  19.     endif
  20.    
  21.     if $yes==1 then
  22.        
  23.         MouseClick("left")
  24.     endif
  25. sleep(30)
  26. WEnd
  27.  
  28. Func setting()
  29.     if $yes==0 then
  30.         $yes=1
  31.         Call("playsound", 1)
  32.     else
  33.         $yes=0
  34.         Call("playsound", 2)
  35.     endif
  36. EndFunc
  37.  
  38.  
  39. Func playsound($y)
  40.     if $y==1 then
  41.         Beep(500, 200)
  42.         Beep(450, 200)
  43.         Beep(400, 200)
  44.         Beep(450, 200)
  45.         Beep(500, 200)
  46.         Beep(500, 200)
  47.         Beep(500, 400)
  48.     elseif $y==2 then
  49.         Beep(500, 200)
  50.         Beep(500, 200)
  51.         Beep(450, 200)
  52.         Beep(450, 200)
  53.         Beep(500, 200)
  54.         Beep(450, 200)
  55.         Beep(400, 400)
  56.     endif
  57. EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement