Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sg = peripheral.wrap("stargate_1")
- while true do
- local test = redstone.getInput("left")
- if test == false then
- sg.disconnect()
- os.sleep(2)
- sg.closeIris()
- os.reboot()
- else
- os.sleep(1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement