So I was stupid and I broke atmega328p-pu chip reset and analog 5 pins. Are they important, like for programming or something that has to do with the board itself?
Are they important,
Yes.
You can get a replacement chip with pre burned bootloader if you look on the net.
Cant reprogram it without reset.