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

Other ways to protect module script source?

We all know you can do at the top :

script = nil

But what other measures could you take to 100% protect your source code?

1 answer

There is a short, simple answer.

Nothing else is needed

But why Turtle

When the script is set to nil, it can no longer be referenced, but it can safely run the module code from nil. The only way it can possibly be accessed is from the script that called it, and we all know those can't be accessed.

script = nil

is basically all you need.

2 comments

0

Can you tell me, why you would make script equal to nil?

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