How to make 2 pins do the same thing?

i solved the problem but tnx