EXF0RD
|
  |
| Joined: 13 Dec 2016 |
| Total Posts: 5 |
|
|
| 26 Mar 2017 03:16 PM |
DOES ANYONE KNOW HOW TO EDIT A LOCAL SCRIPT MADE FROM A INSTANCE.NEW() IN A SCRIPT?
How do I edit a Localscript's content/Data made as an instance from a script.
Please, I beg you. I've been trying for over 4 HOURS! To get it right. I've tried Tutorial videos and some other help sites, but I can't find out How to.
So if anyone knows, Please help.
Thank you for giving this your time to read this. |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2017 03:22 PM |
| i'm not sure, but i don't think you can. |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2017 03:23 PM |
It's probably impossible or expert level. Try making a separate (Roblox Tools) script, then clone it to where you want. Hope this helped.
|
|
|
| Report Abuse |
|
|
hasang1
|
  |
| Joined: 09 Nov 2012 |
| Total Posts: 903 |
|
|
| 26 Mar 2017 03:24 PM |
You can't directly edit scripts/localscripts from runtime directly, yet with some semi-advanced methods you can make them run a source outside of the actual script objects. Also, you can currently only do that with Global scripts unless you find a way to port LBI. Good luck with that. (TIP: Loadstring is your friend.)
HAX. |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2017 03:26 PM |
| what you can do is insert/remove models and scripts using a script. so it'll be similar to what you're looking for |
|
|
| Report Abuse |
|
|
Isosta
|
  |
| Joined: 10 May 2015 |
| Total Posts: 14729 |
|
|
| 26 Mar 2017 03:27 PM |
This is the stupidest thing i've ever heard.
The people replying to this thread don't even know what they're talking about.
|
|
|
| Report Abuse |
|
|
|
| 26 Mar 2017 03:44 PM |
| How about write the script in advance and put in one of the dediacted storage areas, then clone it when you need it? |
|
|
| Report Abuse |
|
|
Xonae
|
  |
| Joined: 04 Dec 2013 |
| Total Posts: 336 |
|
|
| 26 Mar 2017 03:48 PM |
You cannot edit the source of scripts, nor can you create one with a source.
~ Xonae ~ |
|
|
| Report Abuse |
|
|
|
| 26 Mar 2017 04:19 PM |
| ##### i know what i'm talking about because i've dealt with this. |
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 26 Mar 2017 04:20 PM |
You can use :LoadString() to run a string as code
|
|
|
| Report Abuse |
|
|