I want to check if a value has changed, for example, when a player touches a part, it gives them 1 Score, but when the score is changed, it will fill a bar (that I don’t need help on) 1 bubble out of all 5.
2 Likes
You can use GetPropertyChangedSignal
to detect that change.
Example:
local cash = Player.leaderstats.Cash
cash:GetPropertyChangedSignal("Value"):Connect(function()
--do code
end)
8 Likes
thanks man your a life saver :DD
4 Likes