Advertisement
182days

Auto Mouse Clicker

Nov 25th, 2023
552
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1. import pyautogui
  2. import time
  3. import random
  4. import keyboard
  5.  
  6. time.sleep(2)
  7. pyautogui.hotkey('win', 'd')
  8.  
  9. while True:
  10.     MouseX = random.randint(0, 1300)
  11.     MouseY = random.randint(0, 700)
  12.     MouseSleep = random.randint(1, 5)
  13.     pyautogui.moveTo(MouseX, MouseY, duration=1)
  14.     pyautogui.click()
  15.     time.sleep(MouseSleep)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement