you see, I'm trying to make this anti-virus to help developers. heres my script:
local toolbar = plugin:CreateToolbar("Troys Antivirus")
local button = toolbar:CreateButton(
"Scan For Suspicous names",
"Click to scan for possible names of a virus",
"http://www.roblox.com/asset/?id=36527138"
)
button.Click:connect(function()
print("Scanning for names...")
plugin:Activate(true) -- Neccessary to listen to mouse input
end)
function VirusNameScan()
local child = game.Workspace:GetChildren()
if child.Name == "virus" or " virus" or "YOUR AN IDIOT" or "troll" then
child:Destroy()
end
end
print("Scan complete.")
ok, here's my problem; it keeps getting stuck on "Scanning for names...". Any ideas on how to fix this?
Thanks for reading!

9 comments
It is stiil stuck on scanning for names... my script is what you said.
Did you call the function?
I made a typo. I misspelled match.
I put lines 01-10 of my script and changed the rest to yours.
Yeah lol. I thought you knew that. I mean like, there was no syntax for anything plugin-wise.
still the same problem, its stuck on "scanning for names...".
I'll try making my own then give you the script. Just pls upvote.
ok.
Name detection is one of the weakest detection anti-viruses can have