import tkinter as tk
import sys
import os
from PIL import Image, ImageTk
# Название файла с картинкой, который должен лежать рядом со скриптом
IMAGE_FILE = "annabelle.jpg"
chaos_started = False
def fill_with_blood():
"""Бешеное мерцание экрана кровью в ПОЛНОЙ ТИШИНЕ"""
global chaos_started
if not chaos_started:
return
try:
current_bg = root.cget("bg")
if current_bg == "black":
root.config(bg="#4a0000") # Кроваво-бордовый
label.config(image="", bg="#4a0000", text="⚠️ SYSTEM DESTROYED ⚠️\n\nM R S M A J O R 3 . 0", fg="white", font=("Courier", 45, "bold"))
else:
root.config(bg="black")
if has_image:
label.config(image=bg_image, bg="black", text="")
else:
label.config(image="", bg="black", text="YOU CANNOT ESCAPE", fg="red", font=("Courier", 55, "bold"))
except Exception:
pass
root.after(140, fill_with_blood)
def trigger_screamer():
"""Момент скримера: включаем визуальный хаос"""
global chaos_started
chaos_started = True
fill_with_blood()
def hard_exit(event):
"""Секретный выход по нажатию клавиши Esc"""
root.destroy()
sys.exit()
# Создаем окно
root = tk.Tk()
root.title("MrsMajor 3.0 Exact Face")
root.attributes('-fullscreen', True)
root.attributes('-topmost', True)
root.config(bg="black", cursor="none")
# Выход из пранка
root.bind("<Escape>", hard_exit)
screen_width = root.winfo_screenwidth()
screen_height = root.winfo_screenheight()
has_image = False
# Проверяем, лежит ли картинка рядом со скриптом
if os.path.exists(IMAGE_FILE):
try:
original_img = Image.open(IMAGE_FILE)
original_img = original_img.resize((screen_width, screen_height), Image.Resampling.LANCZOS)
bg_image = ImageTk.PhotoImage(original_img)
has_image = True
except Exception:
pass
# Выводим начальный экран
if has_image:
# Если картинка успешно загрузилась локально, показываем её 1 в 1 в тишине
label = tk.Label(root, image=bg_image, bg="black")
label.pack(fill="both", expand=True)
# Через 5 секунд статичного лица резко начнется мерцание
root.after(5000, trigger_screamer)
else:
# Запасной вариант на случай, если вы забыли закинуть файл annabelle.jpg в папку
label = tk.Label(root, text="⚠️ ERROR: annabelle.jpg NOT FOUND ⚠️\n\nPlace the image in the script folder.", fg="red", bg="black", font=("Courier", 24, "bold"))
label.pack(fill="both", expand=True)
root.mainloop()