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)
On line 4, you said "deletes virus's". Change it to "deletes viruses". '' Can also be used for strings; therefore glitching your script thinking that there are 4 strings, not 3.