Advertisement
Guest User

Fisch shake ahk

a guest
Oct 16th, 2024
6,414
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | Gaming | 0 0
  1. ; Define a toggle variable
  2. toggle := false
  3. count := 0 ; Variable to track the number of presses
  4.  
  5. ; Press F1 to start the script (press '\' once, then do * cycles of 'S' and 'Enter')
  6. F1::
  7. if (!toggle) ; Only run the script if it's not already running
  8. {
  9. toggle := true ; Set toggle to true
  10. count := 0 ; Reset the counter
  11.  
  12. Send, \ ; Press backslash '\' once
  13. Sleep, 200 ; Wait for * seconds (1s = 1000 milliseconds)
  14.  
  15. ; Start the loop with a timer
  16. SetTimer, PressKeys, 10
  17. }
  18. return
  19.  
  20. ; Define the key press function that the timer will call
  21. PressKeys:
  22. if (count < 80) ; Run the loop until * presses are done
  23. {
  24. Send, s ; Press 's' key
  25. Sleep, 10 ; Wait for * second
  26. Send, {Enter} ; Press 'Enter' key
  27. Sleep, 10 ; Wait for * second
  28. count++ ; Increment the counter
  29. }
  30. else
  31. {
  32. SetTimer, PressKeys, Off ; Stop the loop
  33. toggle := false ; Reset the toggle so it can be started again
  34. }
  35. return
  36.  
  37. ; Press F2 to exit the script manually
  38. F2::ExitApp
Tags: Roblox fisch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement