Chosen Solution

Does the iPhone x earpiece speaker and sensor assembly (item # IF377-056-1) come with screws?

No it doesn’t. You will need to use the screws from the previous sensor.just so you know the face Id will not work if you replace that assembly. The proximity sensor is paired to the motherboard. You can change just the earpiece speaker and have it soldered on the the cable assembly to preserve face Id. You can purchase the screes and they are easy to find. They are tri wing screws and are the smallest ones. I hope this helps.