Need Help Explanation Of Module Script Table Value Changed By Script Or Local Script

I Need Anyone help To explain, if module script table value change by other script, the scrpt access the module get new value or something happen
module :

local mymodule = {}

mymodule.Value = 10

return mymodule

Script Changing The value :

local rps = game:GetService("ReplicatedStorage")
local mymodule = require(rps.MyModule)

mymodule.Value = 95

Script Use The Value

local rps = game:GetService("ReplicatedStorage")
local mymodule = require(rps.MyModule)
local NumberValue = rps.Values.MyNumberValue
NumberValue.Value = mymodule.Value

Hi, @Putuardy.

To put it simple, if it’s server change then (modulescript’s table) changes because it’s server change.

If it’s client then only client will have it.

Since server rejects client’s request unless Remote-Event and other use method

it’s really same as if FilteringEnabled was on (known as FE, already enabled by force because past incidents)

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.