Just type what you want, and it'll appear on the bottom as morse code (dots and dashes). Click the extra characters at the bottom to add symbols. The code is overcomplicated and longer than it should be, but I'm not in the mood to fix it right now. (I added the "!" and made some changes)
Thanks to @SeanCanoodle for the original project Text to Morse Code. "https://scratch.mit.edu/projects/247594"