Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local time = os.time()
- if time >= 6 and time <= 18 then
- redstone.setOutput("back", true)
- os.sleep(5)
- redstone.setOutput("back", false)
- os.sleep(10)
- else
- os.sleep(1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement