Harry Potter replaced with a guy with a handgun. How many books can he get through?

If this has already been done I’m sorry

Guy gets six bullets per chapter. Unused bullets carry over

Can guy with handgun survive the Wizarding World?