So I'm wanting a script not to be touched, and I noticed that you can do;
script.Parent = nil
and my functions would still fire, such as game.Workspace.ChildAdded, or is there another place which cannot be touched/"hidden"?
So I'm wanting a script not to be touched, and I noticed that you can do;
script.Parent = nil
and my functions would still fire, such as game.Workspace.ChildAdded, or is there another place which cannot be touched/"hidden"?
You could use Private Modules but those do pretty much the same thing.. http://wiki.roblox.com/index.php?title=Private_module
This discussion is preserved as it was. New answers, comments, and votes are closed.
8 comments
add a debounce
???????
What does a debounce has to see with this? Anyway. Just so you know, if it is a serverside script and it is either in ServerStorage or ServerScriptService then there is no way a clientside script can access it.
What do you need to hide from?
@Blue to prevent exploiters/any other script moving/accessing it with require (it's a ModuleScript)
If you have enabled FilteringEnabled, and if the player remove or set the script to false, it will not affect the server, but I'm not sure of it...
Yes, I'm aware of what FilteringEnabled does, but that is not my question, I am also wanting other scripts - server side - to not move/require it either.
Don't make the script in the first place!