alright how about this
if saved.tramsform then
loadedModel:PivotTo(CFrame.new(saved.tramsform.x, saved.tramsform.y, saved.tramsform.z)*CFrame.Angles(0, math.rad(saved.tramsform.r), 0))
elseif saved.transform then
loadedModel:PivotTo(CFrame.new(saved.transform.x, saved.transform.y, saved.transform.z)*CFrame.Angles(0, math.rad(saved.transform.r), 0))
else
warn("nothing was done")
table.foreach(saved,print)
end