Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
-- Fast block breaker -- Place turtle facing the block to break while true do -- Check for redstone signal from any side if rs.getInput("left") or rs.getInput("right") or rs.getInput("top") or rs.getInput("bottom") then -- Break and collect block in front if turtle.detect() then turtle.dig() end -- Wait for redstone signal to turn off to prevent multiple triggers while rs.getInput("left") or rs.getInput("right") or rs.getInput("top") or rs.getInput("bottom") do sleep(0.05) end end -- Small delay to reduce CPU usage sleep(0.05) end
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)