Is there a way to prevent exploiters from accessing module scripts?

I want to make it so exploiters can’t access my games module scripts.
I am trying to figure out a way to prevent exploiters from that.
I have tried searching on the devforum, but all I found was that they can access module scripts.

1 Like

Put it inside of ServerStorage/ServerScriptService.

2 Likes

Couldn’t they still access it?

clients cant access serverstorage/serverscriptservice so they wouldnt be able to access it but also that would make the modules only accessable by the server

1 Like

Well, if he wanted it to be hidden from exploiters, it would have to be hidden from all clients. There is no way around that.

1 Like

No, it’s impossible for clients to access server related services (unless a backdoor is present)

put them in server storage or server script service (contents of both are not replicated to clients)

Important to note that updated values in module-scripts do not replicate both ways.

1 Like