I have had this exact problem and tried the same solution as you before, and just know that it is indeed a lot more complicated than you would have thought when you were first getting into it. I believe this thread should help you here: Creating A Furniture Placement System