Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Melee Turtle XP Farm - by cowslaw
- -- Functions
- function attack()
- turtle.attack()
- end
- function emptyInventory()
- if turtle.getItemCount(16) > 0 then
- for i = 1, 16 do
- turtle.select(i)
- turtle.dropDown()
- end
- end
- end
- -- Main Loop
- while true do
- attack()
- emptyInventory()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement