Arms break when I hold my gun after dying

I’m making a gun system. When you equip a gun your arms should go up and down if your camera is also going up and down. When you die and equip the gun again, the arms won’t move anymore.

Before dying:
https://streamable.com/ult8fs

After dying:
https://streamable.com/mnhacr

This is where the script is located:
image

I haven’t really tried anything since I don’t even have an idea how to fix this.