generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: loadstring

Previous Thread :: Next Thread 
nate890 is not online. 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 is not online. 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 is not online. 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 is not online. 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
DesignerDavid is online. DesignerDavid
Joined: 18 Feb 2014
Total Posts: 8422
25 Jul 2017 04:43 PM
There is a checkbox in the properties of ServerScriptService.
Just check that box.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image