Click the green flag. It will tell you how many attempts you have left. Scratchy will ask you to answer his question. Get it correct and you win. When you run out of attempts, he will tell you the number. It is randomized. Click allow.
I made this project to show wheatleydude how to make a guess the number randomized so people cant't cheat when they look into the scripts.