Advertisement
Guest User

Untitled

a guest
Jan 7th, 2019
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.27 KB | None | 0 0
  1. HotKeySet("{F4}","Close")
  2. HotKeySet("{F5}","StartRun")
  3. HotKeySet("{F6}","StartSprint")
  4.  
  5. Func Close()
  6.     Exit
  7. EndFunc
  8.  
  9. Func StartRun()
  10.     send("{w down}")
  11. EndFunc
  12.  
  13. Func StartSprint()
  14.     send("{LSHIFT DOWN}")
  15.     send("{w down}")
  16. EndFunc
  17.  
  18. while (True)
  19.     sleep(25)
  20. WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement