Everything here works just fine but I haven't found a way to make it so that when I press the start button it withdraws the Main Menu screen and displays the next one. It already creates the second screen when I run the code and it withdraws the MainMenu Screen before I even click the start button.
https://replit.com/@AbdullahKaran/ConfusedSophisticatedFolders#main.py