Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- term.clear()
- term.setCursorPos(1,1)
- print("Up or Down?")
- local input = read("*")
- if input == "up" then
- redstone.setOutput("top", true)
- sleep(5)
- redstone.setOutput("top", false)
- end
- if input == "down" then
- redstone.setOutput("back", true)
- sleep(5)
- redstone.setOutput("back", false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement