Press space and then write something, then press enter and your text will be generated. No, it doesn't "crash" like the last one at all, it should work 100% of the time. I also included more symbols in it, there is still some missing digits though.
This is the third text engine I make and YES THIS ONE ACTUALLY WORKS!!! I mean, it's also far from perfect but infinitely better than the previous ones for sure. Once again, I figured this one out for myself. This one might be used for my projects if it works well enough, you are free to use it for yours too if you wish (update from the future: I highly recommend using my fourth one instead), but be aware that adjusting it might be a bit complicated (it isn't with the fourth one). Feel free to notify me if you do need any help with it, I'll help when avaliable.