Anyone know why this won't work?
local PluginManagerObject = PluginManager()
local Plugin = PluginManagerObject:CreatePlugin()
local Toolbar = Plugin:CreateToolbar("Nascars Plugins")
local Button = Toolbar:CreateButton("Virus Remover","Deletes virus's from your game.","http://www.roblox.com/asset/?id=188440505")
Button.Click:connect(function()
ScanAt = game.Workspace
Objects = {}
local m = Instance.new("Hint")
m.Parent = script
m.Text = "DETECTING "..ScanAt.Name.." Please wait ."
wait(1)
m.Text = "DETECTING "..ScanAt.Name.." Please wait .."
wait(1)
m.Text = "DETECTING "..ScanAt.Name.." Please wait ..."
wait(1)
function geth(ob)
for _,v in pairs (ob:GetChildren()) do
table.insert(Objects,v)
geth(v)
end
end
geth(ScanAt)
m.Text = "Number of Objects in "..ScanAt.Name..": "..#Objects
wait(1)
m.Text = "Loading virus remover [l ]"
wait(1)
m.Text = "Loading virus remover [ll ]"
wait(1)
m.Text = "Loading virus remover [lll]"
wait(2)
Virus = 0
Viruses = {}
theKnown = {"dåååååååååååååång.........you got owned...", "Rofl","**virusmaster***","Vivurursdd","Vaccine","Guest_Talking_Script", "micolord", "ThisScriptIsAJumpStartToAHeålthyLifestyle", "4D Being"}
function scan(objection)
for _,v in pairs (theKnown) do
if string.lower(v) == string.lower(objection.Name) then
Virus = Virus + 1
table.insert(Viruses,objection)
end
end
end
for nou = 1,#Objects do
scan(Objects[nou])
m.Text = "Scanning Object: "..Objects[nou].Name .. " Number "..nou.." of "..#Objects .. " | Viruses Detected: "..Virus
wait(.0001)
end
wait(3)
for _,v in pairs (Viruses) do
v:Remove()
end
m.Text = "Scan Completed, Any viruses that were found were removed."
wait(1.5)
m:Remove()
end)

4 comments
Still does not work.
I also think that you should change the parent of the hint/message to workspace.
Thank you, It work's now.
Your welcome! Try not to expose plugin codes much or other people will copy your plugin.