Is it possible for multiple things to activate 1 function? For example, would this work?
Player.leaderstats.Gold.Value.Changed,Player.leaderstats.Gems.Value.Changed,Player.Exp.Value.Changed:connect(saveStats)
Yes, but that's not the syntax. You have to use the connect
method on each and every event you want to connect:
Player.leaderstats.Gold.Changed:connect(saveStats) Player.leaderstats.Gems.Changed:connect(saveStats) Player.Exp.Changed:connect(saveStats)
EDIT: Also, the Changed event of a ValueObject is in the object itself, not the Value property.