while true do
term.clear()
term.setCursorPos(1,1)
print("Restricted Area, Type Password to open Door")
print("or press any key to close it")
local input = read("x")
if input == "acoite" then
rs.setOutput("back", true)
print("Type any key to lock the Door")
else
rs.setOutput("back", false)
end
end
