Trying to make encode code with module

Hello everyone, I’m thinking of making a module that will encrypt the code, but the problem is that I don’t know if it’s possible to get the code itself from the module if there is an ID from it. Please give me some advice on how to encrypt the code and make the module safe to use?

encrypt what code? can you please specify

and show me the module

im just planning encrypt the server-side script for train with my module

can you show me the module and the code inside the module please???

why? i cant bc it encode the script and if u will saw how it works u can later try to encode my code, just tell me is it possible go get module if i have only id?

is the module’s name MainModule? and is it published to roblox

no, its private, but i want link this module to other games but module will be in one my game

1 Like

you should publish it as an asset (you can set it privately, as long as its owned by you) and name the modulescript (not the asset) MainModule so it works in other games owned by you

just asking but how it publish as an asset?

right click the module (should be named MainModule) and click Save to Roblox...
name the module MainModule!!!!