How Do I Get A Table On The Server Or Value And Return It To A Players GUI

So I would like some help on how this could be possible, I would assume remote functions or remote events returning the value or table to a client but this might require me checking everytime a value changed on the server and im scared because it firing the remote so much it might cause lag or issues

for example for cash, I would detect changes in the value and fire a remote every time to the client changing their gui to match their the cash value on the server but if that player gets money rapidly it might lag or something might go wrong

I used to use Replicaservice module for this but I came back to studios after a while and Im confused on how to set it up and use it and I would Prefer the same outcome but doing it manually so i have more control over what im doing and know so if anyone can help me I would appreciate it!

Use a remotefunction and return the data of the table to the client and then you can just print out the data on the client.
EDIT: In terms of your cash part, I would recommend you just have leaderstats and the client can check their own leaderstats. You don’t need the server for that.

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