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

How do i use loadstring?

It'd be nice to know, i wanna learn as much as possible ^^

1 answer

✓ Accepted answer

Loadstring loads a Lua string into a chunk as a Lua function. Its usage is simple - You call it with a string, which if it contains valid Lua will return a function. You can then call that function to run the code.

It is recommended not to enable loadstring in your place for security reasons, and it is advisable that you look for other alternatives.

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