Typing solutions?

I need a typing solution. I have stolen one from @JR_01, and it works perfectly. However, I need the text to only show up when activated, as well as you only able to type when activated. Any help?

In addition to that, it seems jr’s example may be broken.

Hmmm… @Jr_01 when I copy & paste your mechanics, this singular connection I highlighted is not appearing when I paste it. I tried it multiple times. When I connect it manually though, it works.