Advertisement
Kamioda

minecraft_moving_elevator_door_control

Jun 10th, 2021 (edited)
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. while true do
  2. if turtle.detect() and not redstone.getOutput("top") then
  3. redstone.setOutput("top", true)
  4. elseif not turtle.detect() and redstone.getOutput("top") then
  5. redstone.setOutput("top", false)
  6. end
  7. os.sleep(0.1)
  8. end
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement