When my save data loads I get the error in the title in this line:
local NewCframe = CFrame.new(data.CFrames.X, data.CFrames.Y, data.CFrames.Z * CFrame.Angles(0, math.rad(data.CFrames.Orientation), 0))
This is the line that creates that Orientation:
table.insert(save, {
ObjectName = Obj.Name;
CFrames = {
X = Obj.PrimaryPart.CFrame.X;
Y = Obj.PrimaryPart.CFrame.Y;
Z = Obj.PrimaryPart.CFrame.Z;
Orientation = Obj.PrimaryPart.Orientation.Y;}
});