it was very skilled pupiteer work basically, and when the lighting switched and he "took off his head" it was a fabric mask and behind it he was wearing womething like one of those "invisible face masks, but coverers the entire head then he slipped the other hollow fabric mask over his other black mask