I am trying to replace [placeholders with the template base in my game. This always use to work up till now, but it works in the game, just not studio…?
for _: nil, plot: Part in pairs(PlotsFolder:GetChildren()) do -- Safe to use "openPlots" because nothing has changed yet
local plotTemplate = PlotTemplate:Clone()
plotTemplate.Parent = PlotsFolder
plotTemplate:PivotTo(plot.CFrame)
plot:Destroy()
end
openPlots = PlotsFolder:GetChildren()
In studio it Pivots to (0, -100000, 0) no matter what.
Edit:
I just switched it to:
plotTemplate.PrimaryPart.Position = plot.Position
but still why does this work like this?