Press flag to start. Press space to croak. Press flag again to start over. Press stop to stop.
Thanks to atebit8 for the inspiration of rainbow! https://scratch.mit.edu/projects/1194326077 is the link to Atebit8's game called rainbow pen! Also thank you, daFoolcode, for helping me learn how to make the frogs spin.