Hi there, I was making small program or api for self destroying (I needed to put it in my private program).
So I decided to share it with all, because I think some people will found this useful.
To fast self destroy of hdd write in:
pastebin run eKz1RmEP
And If you need to use it in your program, this code will help you:
local fs = require("filesystem")
for file in fs.list("") do
print("Deleting \"" .. file .. "\"")
fs.remove(file)
end
Cheers!