Should I parent my scripts to nil?

I am making a basic anti-exploit system and I don’t want other developers to copy my anti-exploit. It’s a modulescript, Should I parent it to nil or ServerScriptService is good?

I think parenting to nil destroys the script

2 Likes

If modulescript is used by localscripts then storing it in ServerScriptService and ServerStorage is out of question and setting it’s parent to nil will not change anything since exploits can detect instances with parents set to nil.

1 Like

It’s required by a server script.

Then store it in ServerScriptService or ServerStorage.

3 Likes

Okay, I will parent it to ServerScriptService. Thanks!

Why should your script set its parent to nil if it’s on the server?

If you’re worried about other developers, in assumption that they have access to the game from Team Create for instance, copying and stealing your anti-exploit, you should not have placed it in the first place. Trust issue is stupid.

1 Like