Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how do you make a gui that tells you the Number oh health or cash you have?

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

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)

1 comment

0

thx

This discussion is preserved as it was. New answers, comments, and votes are closed.