---- Create motors

local freezerMotor = Instance.new("Motor")
freezerMotor.Name = "FreezerMotor"
freezerMotor.Parent = fridge.LeftWall
freezerMotor.Part0 = fridge.LeftWall
freezerMotor.Part1 = fridge.FreezerDoor
freezerMotor.C0 = CFrame.new(0,fridge.LeftWall.Size.Y/2-fridge.FreezerDoor.Size.Y/2,
								-fridge.LeftWall.Size.Z/2-fridge.FreezerDoor.Size.Z/2) * CFrame.Angles(-math.pi/2,0,0)
freezerMotor.C1 = CFrame.new(-fridge.FreezerDoor.Size.X/2+fridge.LeftWall.Size.X/2,0,0) * CFrame.Angles(3*math.pi/2,0,0)
freezerMotor.MaxVelocity = .1

local doorMotor = Instance.new("Motor")
doorMotor.Name = "DoorMotor"
doorMotor.Parent = fridge.LeftWall
doorMotor.Part0 = fridge.LeftWall
doorMotor.Part1 = fridge.Door
doorMotor.C0 = CFrame.new(0,-fridge.LeftWall.Size.Y/2+fridge.Door.Size.Y/2,-fridge.LeftWall.Size.Z/2-fridge.Door.Size.Z/2) * CFrame.Angles(-math.pi/2,0,0)
doorMotor.C1 = CFrame.new(-fridge.Door.Size.X/2+fridge.LeftWall.Size.X/2,0,0) * CFrame.Angles(3*math.pi/2,0,0)
doorMotor.MaxVelocity = .1
