Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function forward()
- redstone.setOutput("right",true)
- sleep(5)
- redstone.setOutput("right",false)
- end
- function backward()
- redstone.setOutput("left",true)
- sleep(5)
- redstone.setOutput("left",false)
- end
- os.pullEvent("redstone")
- for i = 1,44 do
- forward()
- sleep(5)
- end
- for i = 1,44 do
- backward()
- sleep(5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement