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

How Do I Access The Content Of One Script From Another?

I'm not sure if this is actually possible to do, but if it is then I would be glad if you could give an example. Thx :P

3 answers

✓ Accepted answer

script.Source can be read and altered from higher leveled scripts like plugins, execute script, and the command line. From regular scripts and local scripts, you can't and you don't need to.

This is no longer possible.

The Source attribute provides the data you are looking for, but cannot be written to or read from for security reasons.

Source on the ROBLOX Wiki

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