I figured out that its not the bulb. I wired the plug to a battery and it was bright. But i plugged it into the taillight which worked fine, and again the headlight was dim. I think im not getting the wattage. The taillight is probably working fine because its a lower wattage.
SOOOO...