Why don't you parent the Camera to the Wrist.
For example :-
camera2pivot=CreatePivot(wrist)
You can delete :-
loc_x#=EntityX#(wrist):loc_y#=EntityY#(wrist):loc_z#=EntityZ#(wrist);'''''''''i tried this PositionEntity camera2,loc_x#,loc_y#,loc_z#;'''''''''''''to position the camera
Now the camera will always move with the wrist and point at the pivot.
For example :-
camera2pivot=CreatePivot(wrist)
You can delete :-
loc_x#=EntityX#(wrist):loc_y#=EntityY#(wrist):loc_z#=EntityZ#(wrist);'''''''''i tried this PositionEntity camera2,loc_x#,loc_y#,loc_z#;'''''''''''''to position the camera
Now the camera will always move with the wrist and point at the pivot.