Step 6 - Debugging Nested Loops
This script has already been programmed with nested loops. But there’s a bug in this code somewhere. Can you find the bug and exterminate it?
> Open Level 6.

> Right-click on the Chicken to edit the script.

> Play the game to see what's wrong.
One of these movement loops isn't working quite right. Let’s see if we can find the faulty blocks and fix them.
> Once you’ve located the bug or bugs, change the blocks to solve this level.
Did the chicken reach all the coins? Great! Let’s continue to the next step.
If not, have a look back over your Script and see if you can spot any bugs.