the easiest method would be to use a do once node right after the input (1 key). then have the reset pin set to the delay. Alternatively you could do a similar thing with setting a bool variable. on input set a bool of can headbutt to false then do your scripting for the attack and at the end of the script set the can headbutt variable back to true. oh and you would need a branch just after the input that tests weather the can headbutt is set to true.