Quick Question on a simple Potentiometer sketch

yea but I have no idea why when I connect the potentiometer to the 5v pin the Arduino shuts off. I

Broken or incorrectly wired component?