Advertisement
Stiigma

CC entrance doortoggle

May 23rd, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. local side = "back"
  2. local opentime = 5
  3. rs.setOutput(side,true) -- Output a redstone current to the side you specified
  4. sleep(opentime) -- Wait the amount of seconds you specifed, then..
  5. rs.setOutput(side,false) -- Stop outputting a redstone current
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement