I would check the limit switch on the airsoft gun. These are a flmsy affair. If the switch is staying in contact then there is nothing to turn the airsoft off. Open the tank. Look up in the turret to the airsoft gun. You should be able to see this switch. You will need to pry apart the contacts ever so slightly..
Everything else works, except the gun keeps cycling?
Cheers.