Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #MaxThreadsperHotkey 2
  2.  
  3. toggle := false
  4.  
  5. F8 UP::
  6.     toggle := !toggle
  7.  
  8. loop
  9. {
  10.     if (GetKeyState("F9")) {
  11.         break
  12.     }
  13.  
  14.     ; Walk right  
  15.     Send {d down}
  16.     Sleep 5000  ; 5 segundos andando para esta direcao
  17.     Send {d up}
  18.  
  19.     ; Walk up
  20.     Send {w down}
  21.     Sleep 200
  22.     Send {w up}
  23.  
  24.     ; Walk Left
  25.     Send {a down}
  26.     Sleep 5000
  27.     Send {a up}
  28.  
  29.     ; Walk down
  30.     Send {s down}
  31.     Sleep 200
  32.     Send {s up}    
  33. }
  34. return
  35.  
  36. Esc::ExitApp  ; Exit script with Escape key
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement