Advertisement
mouse03f

blisterbombare

May 10th, 2022
740
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.44 KB | None | 0 0
  1. --En funktion för att använda blisterbomber från dispensers som ett flyganfall
  2. function blister()
  3. turtle.select(1)
  4. turtle.placeDown()
  5. loop = 2
  6. while loop < 11 do
  7. turtle.select(loop)
  8. turtle.dropDown()
  9. loop = loop + 1
  10. end
  11. ammo = 72
  12. ammo = ammo * 2
  13. while ammo > -1 do
  14. redstone.setOutput("bottom", true)
  15. sleep(0.01)
  16. redstone.setOutput("bottom", false)
  17. sleep(0.06)
  18. ammo = ammo - 1
  19. end
  20. turtle.select(1)
  21. turtle.digDown()
  22. end
  23. blister()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement