My eternal gratitude to anyone who can tell me why it glitches out twice at the ends of the loop. And don't say it tries to rotate behind the camera.
Powered by the CV88 scratch game engine. (https://scratch.mit.edu/projects/145742046/)