Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.setCursorPos(1,1)
- term.clear()
- motdepasse = "ovh.com"
- print("Time for open the door pls")
- time = read()
- time = tonumber(time)
- print("Please write the password :")
- text = read("*")
- if text == (motdepasse) then
- write("The door is open to "..time.." second(s)")
- redstone.setOutput("right", true)
- term.setCursorPos(1,1)
- term.clear()
- sleep(time)
- redstone.setOutput("right", false)
- else
- write("Error Password failed !")
- sleep(3)
- write("pastebin run Zw07Ak8T")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement