Data transfer between local and server script

I need to transfer some data between local and server script, should I read about remote events to do that or module scripts?

ModuleScripts don’t actually share state between server / client. This means the only way to do replication (flexibly) is through RemoteEvents / RemoteFunctions / UnreliableRemoteEvents.

RemoteEvents are the most basic, and fit most needs. It allows simple two-way communication, that is, client ⇾ server and server ⇾ client.

I suggest first learning about the Client-Server Runtime. Afterward, read Remote Events and Callbacks, which will teach you how to use the tools above.

1 Like

Thank you.
Post must be at least 30 signs, somehow i cant use word characters next to 30

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