repeat local a=script.Parent.Code local U=script.Parent.EnteredCode wait()until a.Value==U.Value and Ready==true AddButton1.Script:Destroy()AddButton1.ClickDetector:Destroy()AddButton1.Size=Size AddButton1.Material=Material AddButton2.Script:Destroy()AddButton2.ClickDetector:Destroy()AddButton2.Size=Size AddButton2.Material=Material AddButton3.Script:Destroy()AddButton3.ClickDetector:Destroy()AddButton3.Size=Size AddButton3.Material=Material SubtractButton1.Script:Destroy()SubtractButton1.ClickDetector:Destroy()SubtractButton1.Size=Size SubtractButton1.Material=Material SubtractButton2.Script:Destroy()SubtractButton2.ClickDetector:Destroy()SubtractButton2.Size=Size SubtractButton2.Material=Material SubtractButton3.Script:Destroy()SubtractButton3.ClickDetector:Destroy()SubtractButton3.Size=Size SubtractButton3.Material=Material Screen1.Color=Color Screen2.Color=Color Screen2.Unlock:Play()Screen3.Color=Color script.Parent.MainDoor:Destroy()script:Destroy()

repeat
	local Code1 = script.Parent.Code
	local EnteredCode1 = script.Parent.EnteredCode
	wait()
until Code1.Value == EnteredCode1.Value and Ready == true
AddButton1.Script:Destroy()
AddButton1.ClickDetector:Destroy()
AddButton1.Size = Size
AddButton1.Material = Material
AddButton2.Script:Destroy()
AddButton2.ClickDetector:Destroy()
AddButton2.Size = Size
AddButton2.Material = Material
AddButton3.Script:Destroy()
AddButton3.ClickDetector:Destroy()
AddButton3.Size = Size
AddButton3.Material = Material

SubtractButton1.Script:Destroy()
SubtractButton1.ClickDetector:Destroy()
SubtractButton1.Size = Size
SubtractButton1.Material = Material
SubtractButton2.Script:Destroy()
SubtractButton2.ClickDetector:Destroy()
SubtractButton2.Size = Size
SubtractButton2.Material = Material
SubtractButton3.Script:Destroy()
SubtractButton3.ClickDetector:Destroy()
SubtractButton3.Size = Size
SubtractButton3.Material = Material

Screen1.Color = Color
Screen2.Color = Color
Screen2.Unlock:Play()
Screen3.Color = Color

script.Parent.MainDoor:Destroy()
script:Destroy()
