ball bearing with a smaller diameter than the pencil
two sewing needles
lighter or matches.
1) take apart the mechanical pencil so that you have a hollow shaft, you don't need the other parts of the pencil
2) solder lead wires to the dull ends of the sewing needles.
3) heat up the sharp end of the needles with a lighter.
while still hot stick the needles through one end of the pencil shaft as seen in the diagram. they should be side by side with ~2mm space between them. (i.e. wide enough apart so that the ball bearing can sit on them comfortably.
4) put the ball bearing into the shaft.
stick something (cotton ball, balled up rubber band, tape, whatever) into the open shaft end to keep the ball bearing in there.