Last active
January 3, 2023 17:24
-
-
Save maxihafer/508350cf4b32d8393a069c1045e3f131 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("starting mob slaughter...") | |
while true do | |
while redstone.getInput("front") do | |
turtle.attack(); | |
sleep(0.5); | |
end | |
turtle.turnRight() | |
turtle.turnRight() | |
for i = 16,1,-1 do | |
turtle.select(i) | |
turtle.drop() | |
end | |
turtle.turnLeft() | |
turtle.turnLeft() | |
os.pullEvent("redstone") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment