Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- write"Kapiyi acmak icin kodu giriniz:"
- input = read("x")
- if input == "123" then
- rs.setOutput("left" , true)
- print"Kapi aciliyor..."
- sleep(5)
- print"Kapi acildi..."
- else
- rs.setOutput("left" , false)
- print"Sifre yanlis kapi acilmadi..."
- sleep(5)
- end
- write"Kapiyi kapamak icin ayni kodu giriniz:"
- input = read(".")
- if input == "123" then
- rs.setOutput("left" , false)
- print"Kapi kapaniyor..."
- sleep(3)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement