Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- if turtle.detect() then
- term.setCursorPos(1,1);
- print("There is a block in front of the turtle!");
- term.clearLine();
- else
- term.setCursorPos(1,1);
- print("Placing Block");
- term.clearLine();
- turtle.place();
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement