I'm using welds, and I made this value (named RadX) that rotates the arm up and down.
How would I go about making the arm follow camera up and down? I'm using the camera, because it's set to LockedFirstPerson, so it wouldn't make sense to use the cursor, since it will always be in the center of the screen.
I've tried;
while wait() do
script.RarmConfig.RadX.Value = workspace.CurrentCamera.CoordinateFrame.lookVector.Y
end
This kind of works, but not exactly. I'm not very good at math, so I can't figure out how to offset it enough to make it work correctly.
-- Note that the animation stuff is done in a different script. It's set up to animate the arm when certain values are changed. The script works correctly. I just don't know how to offset it enough to make the arm look right. RadX is a value that makes the arm move up and down. Default position is either -90 or -95.

1 comment
Still need help with this. Post if you're having trouble understanding.