Externally powering LEDs so Arduino doesn't fry

Hello,
I am making a type of LED arrangement almost like a display board with over 20 LEDs being used. My arduino gets very hot when i power 12 of them at once. Can someone draw me a setup on how I could hook up an external Power supply to power all of the LEDs while using the arduino as a switch? Thank you all!!!

Like this?