Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Tutorial here: https://www.youtube.com/watch?v=vw7o00xvnLQ
- -- For the Floppy Disk
- -- Insert the floppy into the disk drive adjacent to the computer
- -- Go into the computer and type: edit disk/.security/key
- -- Type inside the edit program: key = "lemmein"
- -- Save and exit, then reboot your computer.
- -- It should open the door and eject the floppy disk.
- -- If it doesn't follow the tutorial again.
- -- Floppy Disk Security Program
- os.pullEvent = os.pullEventRaw
- while true do
- if disk.isPresent("back") then
- if fs.exists("disk/.security/key") then
- shell.run("disk/.security/key")
- if key == "TransitDoorUnlock1" then
- disk.eject("back")
- rs.setOutput("left", true)
- sleep(3)
- rs.setOutput("left", false)
- else
- disk.eject("back")
- end
- else
- disk.eject("back")
- end
- end
- sleep(0.1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement