SHOW:
|
|
- or go back to the newest paste.
1 | if(not fileExists('startup')) then | |
2 | - | if redstone.getInput("top") then |
2 | + | local file = io.open('startup', 'w') |
3 | file:write("shell.run(\'killer\')") | |
4 | - | sleep(3) |
4 | + | file:close() |
5 | end | |
6 | - | sleep(3) |
6 | + | |
7 | while true do | |
8 | redstone.setOutput("bottom", true) | |
9 | sleep(45) | |
10 | redstone.setOutput("bottom", false) | |
11 | sleep(40) | |
12 | end |