Advertisement
Zavada

Untitled

Jan 14th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. while notShutdown do
  2.     if pkt = 0 then --Mandrake
  3.         turtle.turnLeft()
  4.         turtle.select(2)
  5.         turtle.suck(64)
  6.         turtle.turnRight()
  7.         turtle.select(1)
  8.         turtle.suckUp(64)
  9.         turtle.placeDown()
  10.        
  11.         for x = 0, 3, 1 do
  12.             turtle.use()
  13.         end
  14.        
  15.         turtle.dig()
  16.        
  17.         for x = 0, 3, 1 do
  18.             turtle.attack()
  19.         end
  20.     elseif pkt = 1 then
  21.        
  22.     else
  23.         print("Invalid Packet")
  24.     end
  25. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement