Here is my script. It only moves the primary part and not the whole model. How do I fix this?
local floor1pos = Vector3.new(1.6, 153.3, -34.4)
function NewTower()
print("Started")
local Floor1 = floors[math.random(1, #floors)]:Clone()
print("Cloned")
Floor1.PrimaryPart = Floor1.Platform
Floor1:SetPrimaryPartCFrame(CFrame.new(floor1pos))
print("Set Primary Part")
Floor1:MoveTo(floor1pos)
print("Moved")
Floor1.Parent = workspace
print("Switched Parent")
end
NewTower()

1 comment
try using :MoveTo() on the model