local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Tables = ReplicatedStorage:FindFirstChild("Tables")
local Servers = ReplicatedStorage:FindFirstChild("Servers")
local Table = Tables:FindFirstChild("Table")
local model = Servers:FindFirstChild("LowBudgetServer")
local PlaceTableButton = script.Parent.StructureFrame.PlaceTable
local function PlaceTable()
local tableClone = Table:Clone()
tableClone.Parent = workspace
tableClone.Button.ClickDetector.MouseClick:connect(function()
local modelClone = model:Clone()
modelClone.Parent = workspace
local weld = Instance.new("WeldConstraint")
weld.Parent = tableClone
weld.Part0 = modelClone.PrimaryPart.Attachment
weld.Part1 = tableClone.Button.Attachment
end)
end
PlaceTableButton.Activated:connect(function()
PlaceTable()
end)
That's my script and the problem is, it does all it has to do except for one thing. It can't move the model to the position (in this case the position I want it to be on is the top of the table). How do I do it with my attachments?

1 comment
this might help https://developer.roblox.com/en-us/api-reference/function/Model/SetPrimaryPartCFrame