IF it’s exactly possible to detect the “closest bone” i’m not sure though,
But i do have an example which uses bones in one of my scripts:
And in this post of mine it shows some extra bones information:
The " Player Bones (To attach objects to)" section 
1 Like