Creating a web service for scripts

How I would make a web service that acts as private storage for my script (product) since you can’t require private modules anymore. I’m currently hosting it on Glitch. I just can’t find a way how to do it. I’m not even able to verify if an HTTP request is from a Roblox game. And if that would be possible how would I stop people from just printing the script to the console? I want the script to be private but still executable. Thanks for the help!

You will need to expose the source since it needs to be there for the script to work. There is no alternative to private modules, which is a good thing.

I’ve thought about this for a while, but I don’t think there is a way to do it.

I would prefer you use Heroku for your web service, because its free, and its more reliable (In my opinion)

There was a service called rbxmod.com that could do this so maybe it is possible.

The short answer is no.
I’m working on a web site to provide storage for script and json object.
You can edit the script on the web site via this interface.


I use loadstring with the API endpoint to retrieve the file.
I can provide an authentification method with a bearer token to access the file, but you still need to put login information in the lua module so the end-user will see it.
The advantage is more is that you can edit the module with your phone!

1 Like