In case my title was awfully phrased, I want to have a TextLabel that gets its value from Player.leaderstats.Cash and it works well except for that I want it to always have a "$" in front of the Cash.Value
local player = game.Players.LocalPlayer
player.PlayerGui:WaitForChild("Balance")
local cashText = player.PlayerGui.Balance.CashBal
player.leaderstats.Cash.Changed:connect(function()
cashText.Text = game.Players.LocalPlayer.leaderstats.Cash.Value
end)
here's the hierarchy just in case https://gyazo.com/09cffa0a3c50fc41682931e580dc51b8

2 comments
thanks a lot!
Please accept answers!