Phemto

mobMeleeServant

Mar 13th, 2023 (edited)
487
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --mobGrinder melee turtle
  2.  
  3. while (1) do
  4.   os.pullEvent("redstone")
  5.   if rs.getInput("left") or rs.getInput("top") then
  6.     redstone.setOutput("right",true)
  7.     redstone.setOutput("bottom",true)
  8.     turtle.attack()
  9.     turtle.attack()
  10.     turtle.attack()
  11.     sleep(0.1)
  12.     redstone.setOutput("right",false)
  13.     redstone.setOutput("bottom",false)
  14.   end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment