Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local dir = {"back","right","front","left"}
- local n = 4
- while true do
- rs.setOutput(dir[n],false)
- n=1+(n)%4
- rs.setOutput(dir[n],true)
- repeat
- sleep(0.5)
- until rs.getInput("top")==false
- end
Advertisement
Add Comment
Please, Sign In to add comment