How would i stop this from going under the ground?

How would i stop this from going under the ground?https://streamable.com/tcc564


here is the vid im not sure why the link didnt embed but ehre is the link

I would try to do a raycast from the body down to the leg, if it hits a part then place the part at where it hit, if not place it at the legs.

There might be a performance problem doing that though, just giving a solution.

What do you have that attached to? It should be attached to the HumanoidRootPart if it isn’t already. Also I would recommend just moving the offset upward a bit to avoid that.

There is a solution to keep it above any colliding objects, but that can cause issues when walking next to literally anything. So unless you want to create a ring that can sort of deform and change its height for any given segment, which would be unique, I would just go with the simpler option of raising the offset slightly.