How to know when a value changed in a local script

I am having trouble finding out how to detect a change in a value in a localscript. Any suggestions?

You can only change values inside a Regular Script, as the Server doesn’t recognize client Changes.

You may be able to change the Values on the Server, and then have the Client detect them from there.

Example.Changed:Connect(function()
  -- detects all properties
end)

Example:GetPropertyChangedSignal("Name"):Connect(function()
 -- detects one property
end)

Alternatively, you can use a Remotes or Bindables

1 Like

Sorry for the misunderstanding but I meant detecting changes in values in a LOCAL SCRIPT

Yes, this Example tells you how to do that:

Sorry my bad I didnt understand so I went on to another forum to look up info on how to do GetPropertyChangedSignal and they gave incorrect infow

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.