This is my script (part of it at least)
Object.PrimaryPart.Orientation = (CFrame.fromEulerAnglesXYZ(Plot.Orientation.X, Plot.Orientation.Y, Plot.Orientation.Z))
I answered it myself..... i just used Vector3.new instead of CFrame... if anyone has the same question