This is a wonderful script! Thanks for sharing it with the community.
Even if the intention was meant for games without combat, you can actually apply it to any sort of game — for example, it works perfectly if you want something MMO-esque with clickable UI elements on screen or custom button presses to bring up common evented menus.