Speedy slime
ChallengeYour first script
This is your first challenge. A challenge gives you a script to fix. It has goals, which show under the little game. You finish the section when every goal has a tick.
What should happen
When the script is right, the game goes like this.
- The game starts. The slime walks 3 blocks to the left, up to the hero.
- The slime walks 3 blocks to the right, back to where it began.
- It is home again before 6 seconds are up.
What happens now
The slime is far too slow. It takes 8 seconds to walk each way, so the whole trip takes 16 seconds.
How to fix it
You change a time by picking a new one from a list.
- Look at the top left of the code box. Press Code
, if it is not picked already. - In the first walk line, click 8 seconds. A list of times drops down.
- Click a smaller time in the list. The line changes.
- Do the same for 8 seconds in the second walk line.
The two times must add up to 6 seconds or less. Leave 3 blocks alone: the slime still has to walk all the way.
Test it
- Press Play
, under the little game. - Watch the slime, and count to 6. The goals are checked 6 seconds after the game starts.
- Look at the goals under the little game.
| If this goal has a cross | What to change |
|---|---|
| The slime gets across to the hero | The walk to the left takes too long. Give it fewer seconds. |
| The slime is back home in 6 seconds | The two times add up to more than 6. Make one of them smaller. |
Press Stop
, change a time, and press Play again. Have as many goes as you like.

