So I’m making a real estate system, and in another script not shown below the ProfitAmount.Value is put in a loop that determines how much the real estate property earns in profit every 5 seconds.
My problem occurs when I added a UI button in the owner pannel that allows players to increase the ProfitAmount.Value so they make $45 per 5 seconds rather than $35. When I press the button, nothing happens and the profit stays at $35.
Usually when I have an error, I can figure out the issue without needing to post here. But this is the 2nd time I’ve rewritten the code, and I was pretty confident in this attempt and then ended up getting the same exact error. Does anyone have any idea what this error means?
OnServerInvoke is a callback member of RemoteFunction; you can only set the callback value, get is not available