Check out https://scratch.mit.edu/discuss/topic/777793/ for instructions. To make your own code, open a text file, copy it all to the clipboard, and then paste it into here.
Give credit if you use anything from here!