In Super Mario 64, Z is a powerful enemy that can be found in the castle. When Mario or Luigi get close to it, it will fire blasts of electricity at them. If they are hit by one of these blasts, they will lose a life.