It's because the variable value remains 1 and your event "variable1=1 ... set typewriter" is restarted on every tick - 60 times per second.
You don't really need the variable here, just start typewriting directly in "On key released" event.
Or if you need the variable for some reason, make sure to reset it to 0 when typewriting starts.
Or add "Trigger once" condition, but be careful, when used incorrectly it can cause many problems.