how to make ragdoll head following a target?

hi! i am struggling trying to figure out a way i can have the head of a ragdoll following a target! the ragdoll should fall on the ground and the head should follow the target… i tried setting up the head control script but the head spin in circles without control… any tips? desperate

thanks! @ZefanS so i tried to add the script to the neck (that is the bone with no rigid bodies from ragdoll) and seems to work… my question is now… why this work and not the head controller script? also, it works but is not perfect… maybe somebody out there have some experience with ragdoll and following/looking at target and can share some tips?