Loadstring on the client?

I’m trying to make a syntax highlighter/text editor that runs code, and I’m using this module for loadstring, which apparently is supposed to be able to run loadstring on both the server and client. But that isn’t working. No outputs.


If you’re trying to require a module, First You need to give a name to the module that you require

For example

local myModule = require(game.ReplicatedStorage.Modules)

Then, Re-call The Module Name
myModule And Run The Function that are inside it.

Also… You’re Hipertext link is not valid, can you try to give me a valid link?

I edited it, the link works now.

This is actually wrong. I can just require the path, and pass in the argument, which in this case in the source, with ().

1 Like