1)I want to use a socket instead of a plug
2)I don't have a 12v battery, I want to run it at 5v
Okay, I'll try that again. I think my tip31 is burnt out or some crap like that
well the diagram doesn't say to use a resistor
what value would i even use?
The original diagram was meant to be connected to an audio source, 12 volt battery, and 4 LEDs.You're using "lots of LEDS", a 5V supply, and an Arduino as the source. At what point are you going to realize this circuit has nothing to do with what you are trying to do?
Yes, you can put both. Type of transistor doesn't matter much, as long as its V-I spec. not exceeded.