How do i make my fps arms follow camera up and down rotation?

how did you do this