Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

(Answered) Is it possible to print the contents of a Script?

Asked by 4 years ago
Edited 4 years ago

From a Script (Not LocalScript!), would it be possible for me to print the contents of a seperate Script?

Not sure if its possible but try using a table and a global value and making the global value the table

0
i dunno, you can try print(Script.Source) but that is all I have really 123nabilben123 499 — 4y
0
Attempting to do that causes an error saying "The current identity (2) cannot Source (lacking permission 1). This happened when I executed a script using the in-game Developer Console command bar on my own game. Its_707 1 — 4y
0
do you want the contents of the script as a string? Or like print the values of the script? 123nabilben123 499 — 4y
0
Not sure if its possible but try using a table and a global value and making the global value the table. aiming4u 61 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

"Not sure if its possible but try using a table and a global value and making the global value the table" - aiming4u

Ad

Answer this question