local s=Instance.new("\077\111\116\111\114")s.Name="\070\114\101\101\122\101\114\077\111\116\111\114"s.Parent=fridge.LeftWall s.Part0=fridge.LeftWall s.Part1=fridge.FreezerDoor s.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)s.C1=CFrame.new(-fridge.FreezerDoor.Size.X/2+fridge.LeftWall.Size.X/2,0,0)*CFrame.Angles((3*math.pi)/2,0,0)s.MaxVelocity=.1 local U=Instance.new("\077\111\116\111\114")U.Name="\068\111\111\114\077\111\116\111\114"U.Parent=fridge.LeftWall U.Part0=fridge.LeftWall U.Part1=fridge.Door U.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)U.C1=CFrame.new(-fridge.Door.Size.X/2+fridge.LeftWall.Size.X/2,0,0)*CFrame.Angles((3*math.pi)/2,0,0)U.MaxVelocity=.1
---- 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 = 0.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 = 0.1
