This countdown timer is a great addition to any game you may wish to create in Scratch. Follow the instructions below to create it!
The first step, of course, will be to create a new project. Navigate to Scratch and click “Create” to create a new project. Delete the cat sprite that will load in by default.
Next, you will need to create your “Game Over” sprite. To do so, mouse over the button in the bottom-right corner and click “Paint.”
Click on the picture to enlarge it.
Design your “Game Over” sprite to your liking, and then click the “code” tab to code the project.
We will need a new variable called “timer” - create it by clicking “Make a Variable” in the “Variables” section.
With the sprite and variable created, the last thing to do is code the timer. Add the code above to your project after taking a look below at what each block of code does:
Source: https://www.create-learn.us