Advertisement
SuperKubaGaming

Untitled

Jul 18th, 2024
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. import pyautogui
  2. import time
  3. import clipboard # pip install clipboard
  4. from num2words import num2words
  5. time.sleep(3)
  6. # Delay to start typing
  7. initial_delay = 3.0 # Adjust this if necessary
  8.  
  9. # Start typing message
  10. index = 460
  11.  
  12. while True:
  13. version_word = num2words(index)
  14. message = f"cyborg destroyer mark {version_word} that is only defeated by a newer model"
  15.  
  16. # Set message to clipboard
  17. clipboard.copy(message)
  18.  
  19. # Move cursor to the input area (if necessary)
  20. # Example: pyautogui.click(x, y)
  21.  
  22. # Paste the message
  23. pyautogui.hotkey('ctrl', 'v')
  24.  
  25. # Press Enter to send the message
  26. pyautogui.press('enter')
  27.  
  28. # Increment index
  29. index += 1
  30.  
  31. # Wait for 2.5 seconds
  32. time.sleep(1)
  33.  
  34. # Check if space is pressed to exit
  35. if pyautogui.press('space'):
  36. break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement