Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- if turtle.detect() and not redstone.getOutput("top") then
- redstone.setOutput("top", true)
- elseif not turtle.detect() and redstone.getOutput("top") then
- redstone.setOutput("top", false)
- end
- os.sleep(0.1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement