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

my Script Executon Gui doesn't exec scripts, also says "Loadstring not available" when I enabled it?

local execme = script.Parent.Parent.TextBox

script.Parent.MouseButton1Down:connect(function(yee)
	loadstring(execme.Text)()
end)

Help me please!

1 answer

✓ Accepted answer

loadstring compatability with local scripts was removed. If you want to execute code, you can use loadstring through a server script, but you cannot use loadstring to execute client-sided code.

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