How to avoid a wall being inside of another wall

Over the past days, I’ve been trying to create a working building system for a possible game I might release. I want to achieve for the player to be able to place a wall in which after disallow the player from the placing the another wall in the same exact place. My issue is that I’ve used methods such as “GetPartsInPart,” but it causes further problems like not allowing the player to add wall’s into different places. I’ve tried many solutions like even raycasting and name checking but nothing has seemed to work.

WHAT I WANT:
https://gyazo.com/bd2ee356edc669bfff3da569ce45db46

PROBLEM:
https://gyazo.com/7ce44dac85ec9ff9c9abc7d30463d241

(NOTE: In the image, you can see that the wall is colliding with the other wall that’s already been placed)