HC sr04

Hi, I need to connect 6 UV senzors to Arduino. Can I connect trig pins on one pin?

Yes.

Enter

sr04 multiple

in the search box (upper right hand corner) for lots of interesting reading.

All trigs on one pin means your response pulses will also come all together. You can read all the echoes at the same time but I doubt the newPing library can do that. Also you have to make sure the signals of all sensors do not interfere as they may hear each other's echoes.