I actually found a solution for this but they used an entirely different way of making windows/buttons and i can't figure out how to use it. Please tell me if there's a way to make this happen with my code. The code for my window and its content is as below
from tkinter import *
title = 'zromber'
window = Tk()
window.geometry("800x400")
def play():
print('welcome')
window.destroy()
def save():
print('yes')
playbutton = Button(window, text='play')
playbutton.config(command=play)
playbutton.config(font=('none', 50, 'bold'))
testlabel = Label(window, text=title)
testlabel.config(font=('Ink Free', 50))
testlabel.pack()
playbutton.pack()
savebutton = Button(window, text='save')
savebutton.config(command=save)
savebutton.config(font=('none', 50, 'bold'))
savebutton.pack()
window.mainloop()