Загрузка данных


import tkinter as tk
import pyautogui
import random

root = tk.Tk()
root.title("VR Roblox Control")
root.geometry("300x200")
root.attributes("-topmost", True)  # Закрепляет окно поверх Роблокса

is_running = False

# Скрипт сам имитирует "живые" движения VR-шлема
def live_vr_loop():
    if not is_running:
        return
        
    # Случайные действия: повороты (a/d), наклоны (w/s), рот (z), глаза (c/b/x/v)
    actions = ['a', 'd', 'w', 's', 'z', 'c', 'b', 'x', 'v']
    random_action = random.choice(actions)
    
    # Python сам жмет кнопку в Роблокс
    pyautogui.press(random_action)
    
    # Случайное время между движениями (чтобы выглядело как живой человек)
    next_delay = random.randint(400, 1800)
    root.after(next_delay, live_vr_loop)

def toggle_vr():
    global is_running
    is_running = not is_running
    if is_running:
        status_label.config(text="VR ИМИТАЦИЯ: ВКЛЮЧЕНА", fg="#2ecc71")
        live_vr_loop()
    else:
        status_label.config(text="VR ИМИТАЦИЯ: ВЫКЛЮЧЕНА", fg="#e74c3c")

status_label = tk.Label(root, text="VR ИМИТАЦИЯ: ВЫКЛЮЧЕНА", font=("Arial", 12, "bold"), fg="#e74c3c")
status_label.pack(pady=30)

btn = tk.Button(root, text="ВКЛ / ВЫКЛ ПРАНК", font=("Arial", 10, "bold"), width=20, height=2, command=toggle_vr)
btn.pack()

root.mainloop()