NoobieDoobie

Untitled

Mar 1st, 2021
1,298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. print("Seconds on?")
  2. on=tonumber(read())
  3. print("Seconds off?")
  4. off=tonumber(read())
  5. while true do
  6.     redstone.setOutput("front", true)
  7.     redstone.setOutput("top", true)
  8.     os.sleep(on)
  9.     redstone.setOutput("front", false)
  10.     redstone.setOutput("top", false)
  11.     os.sleep(off)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment