Hey guys so basically I am getting an error message when it doesn’t really make sense because it runs the code and works. It seems like it realizes its wrong and then buffers the game for debugging.
I’m not sure why you’re creating a new CFrame object. Your WhereToSpawn part already has a CFrame value that can tell your newModel where to go.
-- MODIFIED
local WhereTo_Spawn = partsFolder:WaitForChild("WhereToSpawn") -- If you get a yield warning, then something is wrong.
newModel:PivotTo(WhereTo_Spawn.CFrame)