Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lol = 15 --Seconde
- local function r(...) return shell.run(...) end
- local function w(...) return write(...) end
- heure = fs.open("Config/Save","r")
- Heure = heure.readLine()
- heure.close()
- Heure = Heure -1
- function hh()
- lol = lol -1
- if Heure == 20 then
- redstone.setOutput("back", true)
- print("Active")
- end
- if Heure == 10 then
- redstone.setOutput("back", false)
- print("desactive")
- end
- if lol == 0 then
- os.reboot()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement