[Solved] Help making weapon viewmodel follow CameraOffset

I’m using a mouvement script made by someone else, when you press C for crouch it changes your camera offset, but my weapon viewmodel doesn’t follow this offset and it stays in place

  1. I need help on making the viewmodel follow the camera offset

  2. Whenever the cameraoffset is changed the viewmodel doesn’t move and it stays in place

  3. I Tried changing the viewmodel’s cframe to the camera offset everytime i press C but it didn’t work

Any help i can get is much appreciated, i’m new to scripting so thanks in advance for your time!

1 Like

Viewmodel.CFrame.Position += Humanoid.CameraOffset?

Nope, didn’t work out, here’s a video for a better understanding of the problem, if you need to see parts of the script let me know, and thanks for helping.
robloxapp-20221103-2205534.wmv (2.2 MB)

I’m not downloading that so could you just send me the code where you change the position?

Thanks for the help but i figured it out! i had to change the viewmodel position inside of the camera, but i kept changing the one in the replicated storage, Thanks for everything and have a great day.

could you show mark it as the solution and possibly show a bit of code incase someone else has this problem?