|
| 14 Dec 2015 05:25 PM |
So earlier, when I asked for an idea, a guy told me a script builder. I just realized, would this work?
-Get the result of getfenv() from the client -func = loadstring(local sided code) - setfenv(func, the env returned) -func()
??? |
|
|
| Report Abuse |
|
|
|
| 14 Dec 2015 06:12 PM |
| Theoretically, but it'd still run on the server, and use only things the server has access to. |
|
|
| Report Abuse |
|
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 14 Dec 2015 06:37 PM |
| No, how can you "get the result of getfenv" from the client in the first place? Assuming you want to do this in a server script obviously the environment doesn't exist to the server AND all LocalScripts have their global environment. |
|
|
| Report Abuse |
|
|
cgjnm
|
  |
| Joined: 22 Dec 2011 |
| Total Posts: 2347 |
|
|
| 14 Dec 2015 06:41 PM |
| I love the title "I think I just thought" |
|
|
| Report Abuse |
|
|
|
| 14 Dec 2015 06:42 PM |
@cgj
Off topic, but good one. |
|
|
| Report Abuse |
|
|