Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Timer = 0
- while true do
- if redstone.getInput("right") == true then
- if Timer == 10 then
- redstone.setOutput("top", true)
- sleep(20)
- redstone.setOutput("top", false)
- sleep(1)
- Timer = 0
- else
- Timer = Timer + 1
- sleep(1)
- end
- else
- redstone.setOutput("top", false)
- sleep(1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement