View difference between Paste ID: 3ZmMbTBg and fZPZYub0
SHOW: | | - or go back to the newest paste.
1
while true do
2
   if redstone.getInput("top") == true then
3
      shell.run("cycle")
4
   end
5
   sleep(2)
6
end