|
| 29 Apr 2017 03:13 PM |
| run code locally when I use GetAsync to get the script? |
|
|
| Report Abuse |
|
|
VilgO
|
  |
| Joined: 15 Feb 2011 |
| Total Posts: 518 |
|
|
| 29 Apr 2017 03:29 PM |
What do you mean, locally? On the client? Why does it matter that you get the script using GetAsync? |
|
|
| Report Abuse |
|
|
|
| 29 Apr 2017 03:34 PM |
| the code will run on the client |
|
|
| Report Abuse |
|
|
VilgO
|
  |
| Joined: 15 Feb 2011 |
| Total Posts: 518 |
|
|
| 29 Apr 2017 03:41 PM |
| Lua has loadstring, but it cannot be used in LocalScripts, so you'll have to find another way. Other than that just send the code as a string to the client using RemoteEvent. |
|
|
| Report Abuse |
|
|