Do methods from a module script on the client effect the module script?

I know client changes to module script won’t replicate but if the module script has a method that changes itself, would it replicate?

Here’s an example:

function module:Change(name)
  self.Value = name
end

function module:Get()
  return self.Value
end

If I were to call this on the server, the value would change but if I were to do the same on the client, will the server see these effects too?

No, there is no replication. Only if you had a remoteevent.

2 Likes

Thank you for clarifying.

30char

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