|
| 17 Jan 2012 05:48 PM |
There are ways that I know of, such as setting variables for example game.Workspace.Name to something else to break it. Since I get annoyed at the amount of people using Anti-Ban scripts.
Although I do not know how to break a script using GetService or using Oysi's OLD method
--Oysi Old method local Settings={["Un_Removable"]= "On"} local function mFloor(x) return x - x % 1 end local Un_Removable = tostring(Settings["Un_Removable"]):lower() == "on" if Un_Removable then Game.Workspace.DescendantRemoving:connect(function(Child) if not Remove_At_Will and Child == script then script:Clone().Parent = Game.Workspace end end) end -- blargh |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2012 06:08 PM |
Two ideas: a) Go to SH b) Use Garbage Collector. |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2012 06:09 PM |
Ok, so let me interpret your problem:
You want to stop a script that you have no reference to and which has no parent.
Well, here is my solution to that problem:
game:GetService('ScriptContext').ScriptsDisabled = true
There, problem fixed. :) |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Jan 2012 06:56 PM |
| That property has no effect on running scripts. |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2012 09:28 PM |
@MeBilly
Please dont even comment on this thread, you dont know what your talking about.
Also that property wouldn't work on running scripts, like what popinman322 said. |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2012 09:41 PM |
"you dont know what your talking about."
... because I'm the one who asked... and btw, this belongs in SH, not Scripters. |
|
|
| Report Abuse |
|
|
blockoo
|
  |
| Joined: 08 Nov 2007 |
| Total Posts: 17202 |
|
|
| 17 Jan 2012 09:45 PM |
You can't...simply because it doesn't make sense to remove something that's already been removed.
~Would you like some butter with that latetoast? |
|
|
| Report Abuse |
|
|
blockoo
|
  |
| Joined: 08 Nov 2007 |
| Total Posts: 17202 |
|
|
| 17 Jan 2012 09:49 PM |
You could, however, have a script that indexes all scripts in the game in a table, something like this:
scripts = {}
function addScript(item) if (item.ClassName == "Script") then table.insert(scripts, item) end end
game.DescendantAdded:connect(addScript)
Then, find the script you want to "remove" in the table, and disable it.
~Would you like some butter with that latetoast? |
|
|
| Report Abuse |
|
|