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

Loadstring not working even though loadstring is enabled?

My script uses a simple loadstring("print('ae')"), i can print out the string, but it won't do the loadstring

My loadstring is enabled in server script service The loadstring code is in a server script

loadstring() is not working for me, is there a new thing you have to add to it to run code?

1 answer

✓ Accepted answer

You will need to make a variable and then run the variable with brackets like this:

local runCode = loadstring("print('ae')")
runCode()

Also make sure loadstring is enabled. It's a property of ServerScriptService.

1 comment

0

thank you for helping out!

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