Posted 01 October 2012 - 04:00 AM
I have made a small program that lets you password protect a door the code is simple its just
local password = "Put Your PassWord Here"
while true do
print("Password required to enter")
print("Please enter password below")
local passwordRead = read("*")
if passwordRead == password then
print("Access Granted")
rs.setOutput("right", true)
sleep(5)
rs.setOutput("right", false)
os.shutdown()
else
print("Access Denied")
sleep(2)
os.shutdown()
end
end
put your password in the top