I’m trying to display a variable from a ModuleScript onto a GUI that is constantly being updated. Here are my scripts:
Script: Adds +1 to the Variable when the Part is Clicked.
Local Script: Displays the ever-changing variable
Module Script: Shares the variable in different scripts.
It does not work (nor do any errors appear in the Output). What am I doing wrong?
You cannot pass variables between client and server this way. The module exists separately on the client and server and any calls to require() will return a fresh module for each client and the server.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.