nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 25 Jul 2017 04:32 PM |
| does loadstring still work? seems to work In edit mode but not online... |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 25 Jul 2017 04:37 PM |
Okay, so found this on the wiki: "loadstring cannot be used from a LocalScript, however, it can be used from a Script if loadstring is enabled through the LoadStringEnabled property of ServerScriptService."
that being said, this should fix the problem:
game:GetService("ServerScriptService").LoadStringEnabled = true
but, that property is locked.. "Unable to assign property LoadStringEnabled. It is not scriptable" |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 25 Jul 2017 04:40 PM |
| I'm guessing that we're not allowed to use this anymore because it's a security problem (people "hacking" games and running code)... but if anyone knows a walk-around, that would be handy dandy! thanks |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 25 Jul 2017 04:42 PM |
| Oh, figured it out... need to just set it manually in game. I'm guessing this is a security, "hack" prevention thing.. |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2017 04:43 PM |
There is a checkbox in the properties of ServerScriptService. Just check that box. |
|
|
| Report Abuse |
|
|