I have not tested the script yet, as bizhawk linux lua function seems to be broken, but I believe it should work fine.
How to use, when the cursor is on an enemy that you're targeting, run the script. You don't have to pay attention either as the script will pause the emulator once it succeeds at getting the hit.
Yes, I am planning on redoing the FFVII NES Tas. Im still very curios to see how fast it can be beaten.