Show win screen whenever i get a certain score,Get a win screen whenever i get a certain score

Im basically making a game where you have to click a bunch of times, the button and score text is all set up. i just need it to show a win screen whenever i get lets say 10 points.,Im making a “game” where you basically just have to click bunch of times. now i basically want to show a win screen whenever i get lets say 10 points. i already made the counter and button, just need the win screen.

You could make an additional canvas and set it to invisible at the start. Once you reach 10 points, set the button / score canvas to be invisible and the win screen canvas to visible. You can set this in an if statement in the function for the button. You could also create another scene and switch to it using the scenemanager. There are definitely other ways but these are just the ones I can think of. Hope this helps.