Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

An alternative to "hiding" scripts in nil?

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"?

8 comments

0

add a debounce

0

???????

0

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.

0

What do you need to hide from?

0

@Blue to prevent exploiters/any other script moving/accessing it with require (it's a ModuleScript)

0

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...

0

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.

0

Don't make the script in the first place!

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.