from tkinter import*
decision=0
fs = IntVar()
def coverscreen():
slide=Tk() #Init window
slide.title(\'The Castle of Redemption BETA\') #Give window a title
The problem is that you are defining fs = IntVar()
before you have created the root window Tk()
.
Note:
It is not recommended to create multiple root windows Tk()
, if you want to display a second or more windows use a Toplevel
widget.
If you only want a single window at all times then use frames to contain the widow contents then create and destroy those while using the same root.