Modules Changing Value [ ASK ]

If someone change module value by client, is it affecting other clients?

No, since Module scripts are required in your scripts, it won’t affect others.
[Especially when you require that module from a server script, meaning they might be able to access the module, but not change it. [ServerStorage and ServiceScriptService are the best to keep those scripts as safe as possible].

But, if is in ClientChatModules, then unfortunately they will be able.
[That’s why it’s always better to keep those scripts in SS or SSS]

If I use Global Index, is it the same too?

like _G.Queue or _G.ABC, char…

No, each computer has it’s own returned value (different memory)

If I use Value that I store on ReplicatedStorage?

It’d be exploitable, the only services you could 100% trust to store important stuff in, are ServerStorage and ServerScriptServicd.

Each device has it’s own memory and it isn’t shared across other devices, if you’re talking about wether the script can be seen by the client or not, then don’t put it on a service that has it’s contents replicated to the client

Let’s say theres module x and player a, player a sets a value in module x however this doesn’t apply to player b or the server, and the same goes around (server sets a value at module x but the client still sees it’s own value, and so on)

1 Like

So I’m using FireAllClients and want to make queue and broadcasted value on it, how?

Or using ServerEvent then FireAllClients?

If you want the server to make all clients know that a certain module’s value is now set to something else, then you gotta communicate with the client (example, remotes) and have code to set the value on the client

How about table? How to do it?