Server doesn't detect the updated value

The server doesn’t detect the changed value of an intvalue can someone explain me what’s happening here?
It’s not a script error.

Hello janpieterkes,

Could you show me the code inside your UI’s localScript?

The command bar runs on the same environment as the current view. In this case you’re executing code in the command bar while in the client view so this simulates a change by the client. This change won’t propagate to the server so it can’t see that you changed anything.

Switch to the server view first then run this code.

1 Like