I'm assuming that you set menu to something other than three on another script. If so, the problem could be that since the wait until block is right after the green flag, it doesn't have time to change. Try adding another wait block (like wait 0.5 seconds) before the wait until.
Offline
Your problem is very obvious but a common mistake.
but a
[blocks]<set{ menu }to(0)
[/blocks]
just after the
[blocks]<when green flag clicked>[/blocks]
Offline