Updating UI Text

So I made a working UI that displays some info thanks to some help I got on a previous post. My problem is that the value of the leaderstat is going up BUT the UI that displays the value doesn’t change at all. What I want to know is, how do I update the UI every time the value of the leaderstat changes?

You could use .Changed to see if a value changed and then change the value.

local leaderstat = game.Players.LocalPlayer.leaderstats.Money -- whatever u use

GUI.Text = tostring(leaderstat.Value)-- whatever gui you use