Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- XP = peripheral.wrap("right")
- start = true
- while true do
- --Start
- if start == true then
- print("Hi!")
- print("Job: Fighty fighty learny learny")
- print("")
- print("Setup:")
- print("Dem maaaad fuckurs in da front. Me hit.")
- XP.setAutoCollect(true)
- start = false
- end
- if XP.getLevels() >= 30 then
- for i = 1, i <= 16, 1 do
- turtle.select(i)
- if turtle.suckDown() then
- turtle.dropDown(turtle.getItemCount(i) - 1)
- if XP.enchant(30) then
- turtle.dropUp()
- turtle.select(1)
- break
- else
- for i =1, i <= 16, 1 do
- turtle.dropUp()
- end
- if turtle.suckDown() then
- turtle.dropDown(turtle.getItemCount(i) - 1)
- else
- os.terminate()
- end
- end
- end
- end
- end
- turtle.attack()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement