Advertisement
Guest User

test

a guest
Apr 8th, 2020
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. while true do
  2.   local time = os.time()
  3.   if time >= 6 and time <= 18 then
  4.     redstone.setOutput("back", true)
  5.     os.sleep(5)
  6.     redstone.setOutput("back", false)
  7.     os.sleep(10)
  8.   else
  9.     os.sleep(1)
  10.   end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement