SHOW:
|
|
- or go back to the newest paste.
| 1 | - | stato = true -- true se aperta |
| 1 | + | |
| 2 | a, b = os.pullEvent(player) | |
| 3 | if b == "tommy2805" or b == "stefy25" then | |
| 4 | redstone.setOutput("left", true)
| |
| 5 | - | if stato then |
| 5 | + | redstone.setOutput("right", true)
|
| 6 | - | stato = false |
| 6 | + | sleep(3) |
| 7 | - | redstone.setBundledOutput("bottom", colors.magenta)
|
| 7 | + | redstone.setOutput("left", false)
|
| 8 | - | sleep(0.2) |
| 8 | + | redstone.setOutput("right", false)
|
| 9 | - | for i = 0, 2 do |
| 9 | + | |
| 10 | - | redstone.setBundledOutput("top", colors.white)
|
| 10 | + |