-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathmain.py
More file actions
24 lines (21 loc) · 783 Bytes
/
main.py
File metadata and controls
24 lines (21 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import pyautogui
import requests
import time
import os
from os import system
botted = 0
os.system(f'title Roblox Visit Bot By (...)#4953 ^| Botted: {botted} ^')
def bot():
while True:
global botted
time.sleep(3) #this is here to allow roblox to close down fully before starting again (mainly for laggy PC's)
button_pos = pyautogui.locateOnScreen('play.PNG')
pyautogui.moveTo(button_pos)
pyautogui.click()
time.sleep(25) #change to average time to load up a roblox game (seconds)
button_pos = pyautogui.locateOnScreen('exit.PNG')
pyautogui.moveTo(button_pos)
pyautogui.click()
botted += 1
os.system(f'title Roblox Visit Bot (...)#4953 ^| Botted: {botted} ^')
bot()