I'm not sure how to start this either.
You can use the CFrame.new(Vector3,Vector3) constructor to make a CFrame whose position is at the first Vector3 argument, whose lookVector aims from its position towards the second Vector3 argument.
01 | rightshoulder.C 1 = CFrame.new( 0 , 0 , 0.5 )*CFrame.Angles(-math.pi/ 2 , 0 , 0 ) |
02 | while true do |
03 | wait() |
04 | rightshoulder.C 0 = CFrame.new(Vector 3. new( 1.5 , 0.5 , 0 ),Torso.CFrame:inverse()*aimat) |
05 | end |
06 | --[[Where |
07 | aimat is the position of the Player's mouse. |
08 | Vector3.new(1.5,0.5,0) is the position of the Player's shoulder |
09 | Torso.CFrame:inverse()*aimat is the relative position of the aimat point |
10 | ]] |