Arrows to move. Space to stop recording. This is just a demo, if you use it in your projects credit me. If you liked this project, check out @_TAS_ .
Sorry if the thumbnail is clickbaity. :P This probably will not work for games with randomness in them. This engine uses ticks for best synchronization. To prevent it from running at over 2000 ticks per second, we falsely move the object to "lag" the game. We could just have a really long code made of letters. But the comment character limit is 500. Assuming Scratch runs at 30 FPS, you'd have about 17 seconds to record (to put it in the comments), which is not ideal. (You could do it in the forums though.) So we encode it so that it takes up less space. The amount of items that can be in a list at a time is 200000, which means you have at the minimum about 2 hours of recording time. Before you go, 10b10i10c10i10b10i30c10e10b10e10c10e30b30e10c10i10c10e10c30i10b10h10b10i40c80b70e