Implemented rising edge code in the shooter