I've tried

Using print(workspace.Compiler.Source)

However, it says the item is protected. Is there a newer way to copy the code from another script into another script?

1 comment

0

Source can only be accessed from elevated contexts like plugins and the command line.