Click the flag. (More instructions below) That is all.
Sort of inspired by griffpatch_tutor's Random Stamped Lines project. No code taken from it, though. See my similar project: https://scratch.mit.edu/projects/879211792/