import pyautogui
import time
schet4ik = 1
while True:
time.sleep(3)
pyautogui.keyDown('space')
time.sleep(1.5)
pyautogui.keyUp('space')
time.sleep(0)
pyautogui.keyDown('space')
w=0
while w!=30:
pyautogui.keyDown('enter')
time.sleep(0.1)
pyautogui.keyUp('enter')
time.sleep(2)
w+=1
time.sleep(20)
pyautogui.keyUp('space')
x, y = 1068, 950
pyautogui.moveTo(x, y)
pyautogui.click()