How to run scripts locally using the vLua 5.1 module?

I’m using this module that’s meant to replace Loadstrings to make a command line. But the problem is that it only can run serversided scripts, but I also want an option to load clientsided scripts. Any tips that I can use to do this?

MODULE
https://www.roblox.com/library/4689019964/vLua-5-1-improved-VM

1 Like

There is this module and I think it will help.
StringLoader.rbxm (65.4 KB)
I used it before to run strings locally, maybe something in here will help?

1 Like

Could you please show me an example of how you can load scripts locally? Because whenever I try it still does it serversided.

You call require from a LocalScript.

Thank you! This worked
(characters)