Loadstring broken

I am trying to run a string from a text box like this

loadstring(text)

The text is “print(‘hello’)” but after running loadstring, it simply returns nothing.
LoadstringEnabled is set to true and I am running it on the server. Please help!

loadstring(text)()

aaaaaaaaaaaaaaa

Loadstring returns a function that runs the provided code when called, as the person above demonstrated, you have to call the function.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.