What do you mean I didn’t define them? The first image is the header file the 2nd is the cpp.
Trying your header file suggestion.
The error is that it isn’t running on the server. It is only client side, and therefore doesn’t update the gold and broadcast the change.
I do have dedicated server ticked.