Build up power before the robot reaches you. Then click just right over and over to keep him up. Press Spacebar to raise the power gauge while Plankton's minions approach.