generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Help, I have found a "virus" in a group game

Previous Thread :: Next Thread 
dalekcats is online. dalekcats
Joined: 04 May 2013
Total Posts: 57
10 Nov 2016 04:54 PM
The game is [TGCA]Umbara or something like that. The game has been having some reports of lag, so I decided to look in explorer(via Khol's admin command) and found a workspace "virus" called ProperGr, a script under a body colors object with a blank name. I cannot seem to find the "virus"(I dont know what the proper name is) on Studio. Please help me remove it!


Meow
Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
10 Nov 2016 04:58 PM
VirusNames = {'Lag', 'HaxLager', 'NoobyVirus', 'ProperGr'}
VirusesRemoved = 0

function check(name)
for i,v in pairs(VirusNames) do
if v == name then
return true
end
end
return false
end

function DestroyMaliciousObjects(input)
for i,v in pairs(input:GetChildren()) do
if check(v.Name) then
v:Destroy()
end
if #v:GetChildren() > 0 then
DestroyMaliciousObjects(v)
end
end
end

DestroyMaliciousObjects(workspace)
Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
10 Nov 2016 05:00 PM
Run it in the command bar in studio.

VirusNames = {'Lag', 'HaxLager', 'NoobyVirus', 'ProperGr'}
VirusesRemoved = 0

function check(name)
for i,v in pairs(VirusNames) do
if v == name then
return true
end
end
return false
end

function DestroyMaliciousObjects(input)
for i,v in pairs(input:GetChildren()) do
if check(v.Name) then
VirusesRemoved = VirusesRemoved + 1
v:Destroy()
end
if #v:GetChildren() > 0 then
DestroyMaliciousObjects(v)
end
end
end

DestroyMaliciousObjects(workspace)
print('Destroyed '..VirusesRemoved..' malicious objects!')
Report Abuse
caca50 is not online. caca50
Joined: 10 Jul 2011
Total Posts: 2037
10 Nov 2016 05:35 PM
If you don't know what the name of the script is:


Command Line:

for i,v in pairs(workspace:GetChildren())do
if v:IsA'Script'then
print(v:GetFullName())
end
end

--That won't remove any scripts, but it will tell you where all scripts are, and you can locate the script yourself.
Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
10 Nov 2016 05:42 PM
That'll only show the scripts in plain sight...

This would be what you want to use:

function GetScriptLocation(input)
for i,v in pairs(input:GetChildren()) do
if v:IsA'Script' or v:IsA'LocalScript' then
print(v:GetFullName())
end
if #v:GetChildren() > 0 then
GetScriptLocation(v)
end
end
end

GetScriptLocation(workspace)
Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
10 Nov 2016 05:44 PM
But the thing is the lag scripts don't always just leave behind scripts they can leave any object that exists. Most of the time they leave behind weld objects or other things that don't show up in workspace but make the user have to load more and it'll spam them until the game will crash.
Report Abuse
caca50 is not online. caca50
Joined: 10 Jul 2011
Total Posts: 2037
10 Nov 2016 07:23 PM
Whoops, I messed up.

Command Line:

local function Check(x)
for i,v in pairs(x:GetChildren())do
if v:IsA'Script'then
print(v:GetFullName())
end
Check(v)
end
end
Check(workspace)
Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
10 Nov 2016 08:04 PM
why r u telling this noob how to copy and paste to get rid of free model viruses
Report Abuse
caca50 is not online. caca50
Joined: 10 Jul 2011
Total Posts: 2037
11 Nov 2016 10:01 AM
He said it's a group game, I'm just assuming someone other than him managed to get a virus in there
Report Abuse
LegomasterNiko is not online. LegomasterNiko
Joined: 27 Feb 2013
Total Posts: 1176
11 Nov 2016 11:31 AM
He is probably using free models. People lately have be infecting scripts, the best way to avoid this problem is: to stop using free models.
Report Abuse
dalekcats is online. dalekcats
Joined: 04 May 2013
Total Posts: 57
11 Nov 2016 05:17 PM
Avoiding it is not the issue. The issue is that Free models from other games and the game that I did not add have viruses and I need them removed. Using find, I have found the proper grammar virus, but I cant delete scripts using find.


Meow
Report Abuse
caca50 is not online. caca50
Joined: 10 Jul 2011
Total Posts: 2037
11 Nov 2016 05:19 PM
Use my code, check the scripts that you don't recognize, and remove it if it is the problem
Report Abuse
dalekcats is online. dalekcats
Joined: 04 May 2013
Total Posts: 57
12 Nov 2016 07:59 AM
I was able to remove the virus contents


Meow
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image