How to make smooth weapon follow my camera

hi. i need help about some script. when i rotate i want my weapon smoothly follow my camera rotation. i don’t know how to precisely explain this but maybe if there is some nice guy can help me. sorry for my language