Advertisement
Risk_exe

Untitled

Apr 13th, 2022
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. function Wait_for_minions()
  2. --[[ Write code to detect if blocks are around big cheese ]]
  3. local x = 0;
  4. while x < 4 do
  5. local res = turtle.detect();
  6. if res then
  7. x = x + 1;
  8. turtle.turnRight();
  9. end
  10. end
  11.  
  12. if position.y < 22 then
  13. Redstone_pulse();
  14. Up();
  15. else
  16. Break_minions();
  17. Ascend();
  18. end
  19.  
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement