Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to use loadstring?

How do you use loadstring? I don't get it... Can somebody explain it for me?

1 comment

0

Please use appropriate tags for your question as well, you should only need functions at minimum. Load string is not a feature of Badge or MarketPlace services and it's not often used in tools or BodyObjects. Thank you.

1 answer

✓ Accepted answer

Load string will load up a code, say if it were in a string value or something. This is used a lot for script builders and admin commands. You have have load string run lua code so say this loadstring("print('hello world')")() and it would print hello world. But due to many recent exploits ROBLOX has made the LoadStringEnabled property which can be found in ServerScriptService false by factory default. You can modify this property, but ROBLOX recommends you leave it alone (though I don't do this when a place of mine is in beta tests).

1 comment

0

Thanks.

This discussion is preserved as it was. New answers, comments, and votes are closed.