So, I’m attempting to read an attribute set by a localscript but the server doesn’t notice the change.
I was under the impression that Attributes were updated for both the client and the server, is this not the case? Currently in my game, I use another localscript to display stamina and update it on the player’s humanoid, and the server scripts can read that just fine using the AttributeChangedSignal.
According to the documentation changes to attributes should replicate, perhaps you need to wait for the change to replicate before checking if the change has replicated.
Never mind, I just noticed you’re trying to change the attribute on the client.
As suggested, use a RemoteEvent instance (or RemoteFunction if data needs to be returned back to the client) and set the attribute’s value on the server.