How to access Values stored in ServerScriptService modules in a local script client-side ( it's a GUI script )?

Yea so i have been having a lot of trouble with saving data, I followed a few tutorials and ended by using ProfileService modules in ServerScriptService. The problem is i can’t access the “Points” variable i created in said modules in local scripts in GUI because it’s client-side, what should i do ?

You can use a RemoteEvent to communicate the Points variable between client and server.

1 Like

As @12345koip stated; basically you have to cross the Client-Server boundary to access anything Server. You can go with RemoteEvents or might consider RemoteFunctions for sync access.

For more, check out Remote Events and Callbacks | Documentation - Roblox Creator Hub and also RemoteFunction | Documentation - Roblox Creator Hub