Hello, I am having an issue in which this door placement code does not negate the wall.
Here is the remote event in which is meant to place the door.
local object = model:Clone()
object:PivotTo(cframe)
object.Parent = workspace
local partNegative = object:FindFirstChild("Negative")
partNegative.Transparency = 1
local tag = "Builder_Wall"
for i,v:BasePart in pairs(workspace:GetPartsInPart(partNegative)) do
if v:FindFirstChild(tag) then
local negativeClone = partNegative:Clone()
negativeClone.Parent = workspace
v:SubtractAsync({negativeClone})
end
end
All help is appreciated.