Hi I am trying to make a cash gui for my tycoon and I can't seem to get it to work. Here is my code:
player = game.Players.LocalPlayer
function update() script.Parent.Text = player.leaderstats.Cash.Value end
player.leaderstats.Cash.Value.Changed:Connect(update)
When I claim the money, the cash gui does not change.

4 comments
Thank you!
Yw :)
Could you accept my answer?
accept his answer