This library can handle any script, making it very reliable. This project is also lightweight because you don't need to store a library in the cloud for it to work. And the blocks take up barely any storage (It's around 21 KB of space). Here is the link: Snap! 7.1.3 - Build Your Own Blocks
In case you're wondering, it only took about 2 hours to make this.
But also, you do this a million times, so it should be a subprocedure!
(That ellipsis is kind of a pain in the neck. Maybe JOIN should turn the entire script into text when the script is more than one block long. I dunno.)
Obtw, I should complain to Jens about this: He uses "%clockwise" to represent the ⟳ symbol, but "%" is for variables. It's really confusing to see "turn %clockwise %n degrees" for a block with one input.