Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- redstone.setOutput("top",true)
- while true do
- write(tostring(redstone.getInput("right")).." ")
- write(tostring(redstone.getInput("left")).."\n")
- sleep(1)
- if redstone.getInput("right") == true then
- write("Redstone signal received, waiting... \n")
- for i=1,30 do
- sleep(1)
- write(i.."\n")
- end
- --redstone.setOutput("top",false)
- redstone.setOutput("right",true)
- sleep(1)
- redstone.setOutput("right",false)
- --sleep(1)
- --redstone.setOutput("top",true)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement