like at the top there will be a gui that has a NUMBER of what health or cash or what any value of what thing or item (s) you have
COMMUNITY QUESTION
how do you make a gui that tells you the Number oh health or cash you have?
1 answer
put this code in a localscript as a child of the gui you want to change
local cash= game.Players.LocalPlayer.leaderstats.Cash
script.Parent.Text = cash.Value
cash.Changed:Connect(function()
script.Parent.Text = cash.Value
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
thx