i have an animation playing, it plays fine without the script enabled, but when enabling it the script it will offset both arms. i have tried removing all arm movement from other animations, the issue only persists because of something in my code.
local Pitch = (Mouse.Hit.Position-Mouse.Origin.Position).Unit.Y
RightShoulder.C0 = CFrame.Angles(Pitch,1.55,0)
LeftShoulder.C0 = CFrame.Angles(Pitch,-1.55,0)
You are changing the angle of the joint, but is the offset Position getting set anywhere?
It would help if you described what kind of offset you see, or provide screenshots/video.
I’m guessing the arms offset is different when you run this code because you aren’t setting the offset Position of C0 so it’s going back to the default setting of (0,0,0).