Prevent furniture from sinking into part

You’ll need to find the height of the model. Usually what I do is have a transparent part that covers the entire model and acts as its collision box, and then you can find the height by simply finding the Y component of this parts size. Then, you just add half of this height to the Y component of your CFrame. That would be done in this part:

Table:SetPrimaryPartCFrame(CFrame.new(Vector3.new(posX, posY + sizeY/2, posZ)))
1 Like