Humanoid robot with a gun