Fight system button not working

so im trying to do a undertale like fight system, and the button that is supposed to judge how much damage you did does not work with the miss (which is the only thing i did in the system)

im adding a screenshot of the events