MainDoor.Touched:Connect(function(O)if Door.OpenClosed.Value=="\067\108\111\115\101\100"and DoorReady.Value=="\116\114\117\101"then if O.Parent:FindFirstChild("\066\111\116")then O.Parent.HumanoidRootPart.Anchored=true BotOpenSound:Play()Door.OpenClosed.Value="\079\112\101\110"DoorReady.Value="\102\097\108\115\101"wait(1)O.Parent.HumanoidRootPart.Anchored=false OpenSound:Play()OpenTween:Play()else end end end)
-- Bot Open

MainDoor.Touched:Connect(function(hit)
	if Door.OpenClosed.Value == "Closed" and DoorReady.Value == "true" then
		if hit.Parent:FindFirstChild("Bot") then
			hit.Parent.HumanoidRootPart.Anchored = true
			BotOpenSound:Play()
			Door.OpenClosed.Value = "Open"
			DoorReady.Value = "false"
			wait(1)
			hit.Parent.HumanoidRootPart.Anchored = false
			OpenSound:Play()
			OpenTween:Play()
		else
		end
	end
end)
