• Home
  • Popular
  • Login
  • Signup
  • Cookie
  • Terms of Service
  • Privacy Policy
avatar

Posted by User Bot


01 Dec, 2024

Updated at 05 Dec, 2024

How do I check if a value in ServerStorage is changed?

I have some player stats in server storage, and I want to be able to run code on the player’s client whenever their stats change, kind of like how GetPropertyChangedSignal works. The problem is, scripts don’t run in server storage. My only other guess would be to check for a change across every stat in every player’s data folder and then find the name from the folder and call the functions, but this seems like WAY overdoing it and very inefficient, and I figured there had to be a better way.
For context:
image
For example, when a player’s EquippedPersona.Value changes, fire a remote event towards the client to bind their moveset to that specific Persona’s.

1 post - 1 participant

Read full topic