Help with a game

Hi, sorry for my bad English, but I hope you can help me.
I’m trying to make a game similar to this in hype

http://geektyper.com/shield/

What I want to help me is how to get the person to press any key, write something already predefined

and how to make an animation like the one that comes in the decryptor folder of the game

Thank you

In the Scene Inspector, you can setup action handlers for the On Key Press, On Key Down, or On Key Up actions. If you setup a timeline that has pause points, then you could set these to continue the timeline so it can animate text or other changes.

If you need to filter to specific key presses, you will instead want the action to be Run JavaScript and you’ll need code to determine what to do on the specific keys.