I hope you explain how to use the multiple punch using 1 button because the way your use code is high engineering.
It's very simple :3
Make sure to read the comments above each event to understand how everything works.
In general, we use a variable that increase after every press of the punch key, and based on that variable we play a different punch animation.