So , i’m trying to make an admin gui that allows me to run scripts but when i tried to use it , i got an error: "loadstring is not available’’ . I couldn’t find any solution for my problem.
File: files.rbxl (18.5 KB)
Any help would be very appreciated!
7 Likes
You need to enable loadstring under ServerScriptService.
Allowing users to run arbitrary server code is extremely dangerous and not recommended. Anyone with admin perms can modify datastores and etc, and exploiters can run anything they want if you fail basic remote security. Make sure you know what you’re doing.
23 Likes
loadstring
doesn’t require HttpService to be enabled.
2 Likes
An interpreter, also known as an LBI is also available for this. It does the exact same thing, plus you don’t have to be constantly bothered by Roblox recommending you to turn off LoadstringEnabled. Here’s a community favorite amongst many: GitHub - Rerumu/Rerubi: Legacy Lua bytecode interpreter; discontinued in favor of https://github.com/Rerumu/FiOne
1 Like