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


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)
