How to attach a specific bone of a ragdoll to the wall?

I tried to do it like this:

But instead of attaching the bone at index 6 like I specified, it instead attaches the root bone of the ragdoll to the hit component.

Why is that? How can I get it to use bone 6?

I’ve found many similar questions to this, but none have been solved. There’s gotta be a way!