Posted 04 May 2018 - 03:36 AM
So, I'm trying to make an anti-virus (because I made a virus) but now when I try to delete startup, it results in "Access Denied".
Help!
Code:
Help!
Code:
local h = fs.open("startup", "r")
if(h) then
local l = h.readLine()
if(l=="--BLUESCREEN VIRUS") then
fs.delete("startup")
print("The Trogan.BLUESCREEN malware was detected and removed.")
else
print("No viruses found here!")
end
h.close()
else
print("No viruses found here!")
end