Having this issue as well
This script isn't even working in 1.12
If I type "A" all text i've written dissappears.
Having this issue as well