My character's hands and gun do not move along the y-axis with the camera

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By abbos

Hi, I have a problem
I coded the project, but the problem is that when I rotate the camera along the y-axis, my character’s hands and gun do not move up and down along the y-axis.
To better understand what I mean, upload the following project.

https://drive.google.com/file/d/1in1O_vS3P-IEaPLaDynq9FzSgpfQedf9/view?usp=drivesdk