This is a Caeser cipher machine. Use the slider to choose how many letters to shift forward when encoding (or backward when decoding). It doesn't accept any punctuation or numbers or any gibberish like that.
My niece told me she is doing this project for her Computing GCSE. She's using LiveCode, but I thought I could do it in Scratch. Ideally it would return non-recognised characters as they appear. This would mean you could encode punctuated text and it would come out as an appropriately punctuated code. But, well, you can't.