Chosen Solution

i think i messed up the camera and earpiece and proximity sensor on my phone can i use the one from my iPhone 5c as replacement?

Negative. Its a cheap part and very easy to replace: iPhone 6 Front Camera and Sensor Cable iPhone 6 Front-Facing Camera and Sensor Cable Replacement