Beat the clock
Try itSpeed and time
A countdown is a clock that runs down to zero. It turns a calm level into a race. This script gives the player 30 seconds.
How to read it
| Lines | What they do |
|---|---|
when any {Heroes} enters | When the level starts |
start a countdown of 30 seconds | A clock shows, and counts down |
when the countdown ends | When the clock gets to 0 |
level is lost | The hero loses a life and starts again |
Try it
- Press Play
, under the little game. - Watch the clock count down from 30.
Make it shorter
- Press Stop
. - Press Blocks
, at the top left of the code box. There you can type any number. - Change 30 to 5, then press Play
.
Five seconds is over very fast. How do you choose a time that is fair? You measure, of course. That is the next section.
This section ticks itself when you press Play
.

