trying to place a door model between a wall consisting of three parts and it teleports on top instead of the proper spot

while true do 
	wait(1) 
local om = game.ReplicatedStorage.Reinforced0
local cm = om:Clone()
if workspace.ACS_WorkSpace.Doors:FindFirstChild("Reinforced0") == nil then
	cm.Parent = workspace
		cm:SetPrimaryPartCFrame(CFrame.new(Vector3.new(53.219, 4.95, -8.023)  * CFrame.Angles(0, math.rad(90), 0)))
		
		break
	end
end

1 comment

0

Try Anchoring It By The Script, If A Part Is Not Anchored Physics Would Act Upon It And It Would Be Pushed On Top Of Your Wall