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.
I've decided "Attack on Equestria" should be released first... hence this new ARG channel! https://www.youtube.com/channel/UClKiUI8xOVx9dsF4kRXUmxw
Check it out, and subscribe! The ARG will lead up to the video game. It's not a creepy game, but I just thought it should follow ARG standards.