I was thinking of making an encoder/decoder, and I came into this idea. So first, you want to have a trigger that triggers on “Trigger this trigger again”. Set player collision and visibility to no.
Then, in the block code, put this:
Property “X” is a player-scoped, number property.
Here are the trigger’s settings:
So what happens is that the game checks to see whether “X” is equal to the length of the property text. Then, if it isn’t, the game does whatever every you want it to do, and then increases “X”. Then it triggers the trigger again. And repeats this cycle until “X” is equal to the length of the text property. Once it is, it breaks free of the loop and then does the other stuff you want to happen.
Edit: I haven’t tested this. Might not work.