Dinobird
|
  |
| Joined: 29 Apr 2009 |
| Total Posts: 213 |
|
|
| 03 Apr 2015 01:06 PM |
I'm wondering if there is a way to create a script using Instance.new() and then put code into the script using another script?
Let's say I have a textbox GUI. I have typed code into the textbox, how would I get the code to be put into an actual script? |
|
|
| Report Abuse |
|
|
acidflip
|
  |
| Joined: 18 Jul 2012 |
| Total Posts: 886 |
|
| |
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 03 Apr 2015 01:44 PM |
Nope, script.Source is locked to scripts, the closest you can get is loadstring.
I script -~ chimmihc |
|
|
| Report Abuse |
|
|
gerov
|
  |
| Joined: 05 Feb 2011 |
| Total Posts: 5504 |
|
|
| 03 Apr 2015 01:46 PM |
| Just make the script, put it in replicatedstorage, and clone it into whatever you need when you need it. |
|
|
| Report Abuse |
|
|
Dinobird
|
  |
| Joined: 29 Apr 2009 |
| Total Posts: 213 |
|
|
| 03 Apr 2015 03:06 PM |
| Thanks Chimmihc, I think I can work with that. |
|
|
| Report Abuse |
|
|