Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xp = peripheral.wrap("right")
- xp.setAutoCollect(true)
- while true do
- lastlevel = xp.getLevels()
- turtle.attack()
- turtle.select(1)
- turtle.suck()
- for i=1,4 do
- turtle.select(i)
- turtle.dropDown()
- end
- if xp.getLevels() ~= lastlevel then
- print(xp.getLevels())
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment