So, I made a custom block. "Wait until ( ) typed." It's fairly simple to use. Just input whatever (in this case, "rotate") and it waits until you type that, then continues the script.
If you'd like to use the block, feel free. Just credit me and you're good :) Warning: The block only works with letters and numbers.