Why do some people put modules in ReplicatedStorage instead of ServerStorage when not needed in client?

So, I see some people putting modules in ReplicatedStorage, even when not needed in client. This causes the exploiter to see the module’s code, y’know that’s not good right? I put modules in serverstorage when not needed in client, still curious why other people do this even when not needed in client

If it was for no reason, I might have to do some PSA thing, unless there is some good reason

2 Likes

Yea, if you’re concerned of people seeing your code, like if you have a key/token there or important stuff such as money systems or likewise. Put it in ServerStorage.

I haven’t seen people put non client modules in replicatedstorage personally but that would happen maybe because the module has a table of information that the client would have to access, but the choice is up to you and security of your game

1 Like

Exploiters won’t be able to “see” the code if it is put in ReplicatedStorage if it isn’t required on the client side. Simply said, they wouldn’t receive the data from the module script, and thus won’t be able to view it.

The same logic works with server scripts, and that is why exploiters cannot see server scripts.

2 Likes

But they can simply require it to view the code?

1 Like

I store my game important modules in server storage. As i dont want the client to access them. But if it’s a module meant for the client/isn’t important. I’d put it in rep storage

1 Like