This member cannot be used in scripts, but is usable in the command bar and plugins.
A script’s Source is the code to be executed. Modifying the code within a script modifies the source code executes when the script runs.
For instance, given a script containing the line:
The script’s source is the “print(“Hello world”)” command because it is what will be executed when the script runs, leading to “Hello world” being printed in the command line.
This item is protected. Attempting to use it in a
LocalScript will cause an error.