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