Fight... 3 different moves?

hello… I was wondering how you can make a person hit??
When you press “S” button 3 times after each other the man does 3 different kicks and puches after each other… And do so when the enemy is hittet the third time he dies (like he goes to frame: 24 or something)
Your answer should contain a script for it and an explanation on how you use the code…

Thanks on advice :hugegrin: