Arduino UNO R3 board turning off when i plug the 5V pin in (Fixed, thanks guys)

Hello. As van_der_decken pointed out, the red and black are incorrectly connected at the connector on the servo. It looks like you connected the green jumper from the GND on the Uno board to the Neg rail which is good. Then the black wire from that rail, via the orange wire, to the positive at the servo connector. Presumably you connected the yellow from +5 to the Pos rail to the red jumper which then connects to the black wire on the servo connector. That's feeding DC power to the servo in reverse, that's bad.

Inside the servo are more components than just the motor. There's a decoder and an encoder, for lack of better terms. The decoder controls the motor based on PWM (pulse-width modulation) from the A0 pin as you have it wired. The encoder is a feedback to let the controller know where/how far the output shaft has rotated. The servo is its own little world worth learning more about than I know.

I assume the servo was included in the kit. I hooked one up for my son just as you did, one of the tutorial projects. The advice to not use the Arduino as a power supply is good but we kind of assume that if the kit comes with the device and has instructions to hook it up just as you and I did, then it should be ok. I think it's fine for learning, following the instructions. But, the ATMega328P (the microcontroller which is at the heart of that Uno) has a reported limit of 40mA output on its pins with a combined limit reported to be around 200mA (all operating outputs added together). It's a good idea to not power anything from the ATMega328P (or any IC or anything else, really) unless you know how much current it is drawing and is within the safe limits of whatever it is connected to. Other devices which you might connect to the +5 would include LCD and RTC (real-time clock) modules.

Here is a link to the datasheet for the microcontroller. Datasheets are very often amazing resources with tons of information to help you better understand what you're working with.

https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A-PA-88A-PA-168A-PA-328-P-DS-DS40002061A.pdf

Don't give up. You won't make any mistakes we haven't made.

Um, you're trying to say that English isn't your first language? That's amazingly good and far better than some of the kids who were born here.

Keep at it.

--HC