SHARE
TWEET

Station.lua

a guest Aug 17th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Timer = 0
  2.  
  3. while true do
  4.     if redstone.getInput("right") == true then
  5.         if Timer == 10 then
  6.             redstone.setOutput("top", true)
  7.             sleep(20)
  8.             redstone.setOutput("top", false)
  9.             sleep(1)
  10.             Timer = 0
  11.         else
  12.             Timer = Timer + 1
  13.             sleep(1)
  14.         end
  15.     else
  16.         redstone.setOutput("top", false)
  17.         sleep(1)
  18.     end
  19. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top