Doors Script Gui | (pastebin)

import tkinter as tk from tkinter import messagebox

start_button = tk.Button(root, text="Start Script", command=start_script) start_button.pack() Doors Script Gui (Pastebin)

def start_script(): # Your script's start logic here messagebox.showinfo("Script Started", "The script has started.") import tkinter as tk from tkinter import messagebox

stop_button = tk.Button(root, text="Stop Script", command=stop_script) stop_button.pack() "The script has stopped.")

def stop_script(): # Your script's stop logic here messagebox.showinfo("Script Stopped", "The script has stopped.")