Advertisement
hevohevo

CC: trap2

Mar 18th, 2016
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. -- trap2
  2. --  モンスター討伐プログラム
  3. --  0.5秒に一度攻撃する
  4. while true do
  5.   turtle.attack()  -- 正面を攻撃
  6.   turtle.dropDown()  -- 真下のチェストにアイテムを入れる
  7.   os.sleep(0.5)  -- 0.5秒停止
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement