I'm not too sure on the values of the transistor, but seems to work well as a regulator for keeping the lamp around 5v DC with the input ranging from 12 to 14 volts. Let me know what kind of transistor I'd need to order to make this. I appreciate any advice.
Update. Added a ac source with a DC output of 13v. And the amplitude to 1volt to show a steady output.