Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local args = { ... }
- local levels = 5
- if #args ~= 0 then
- if tonumber(args[1]) == nil then
- error("input must be a number")
- else
- levels = tonumber(args[1])
- end
- end
- for i = 1, levels, 1 do
- turtle.up()
- sleep(0.8)
- end
- sleep(2)
- for i = 1, levels, 1 do
- turtle.down()
- end
Advertisement
Add Comment
Please, Sign In to add comment