If you want your script to play as soon as you press the key, try this combination blocks:
The broadcast block will interrupt the script that was running, so that the script plays as soon as you press the key.