Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --mobGrinder melee turtle
- while (1) do
- os.pullEvent("redstone")
- if rs.getInput("left") or rs.getInput("top") then
- redstone.setOutput("right",true)
- redstone.setOutput("bottom",true)
- turtle.attack()
- turtle.attack()
- turtle.attack()
- sleep(0.1)
- redstone.setOutput("right",false)
- redstone.setOutput("bottom",false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment