local player = game:GetService("Players").LocalPlayer
FUNDSAMOUNT = player.Backpack.AmountOfMoney.Value
FUNDSVIEW = script.Parent.FUNDS.Text
wait(1)
player.Backpack.AmountOfMoney.Changed:Connect(function()
game.Players.LocalPlayer.PlayerGui.Funds.FUNDS.Text = "$"..FUNDSAMOUNT
end)
if FUNDSAMOUNT >999 then
script.Parent.FUNDS.Text = "$"..FUNDSAMOUNT.."K"
else
script.Parent.FUNDS.Text = "$"..FUNDSAMOUNT
end
if FUNDSAMOUNT >999999 and FUNDSAMOUNT <1000000000 then
script.Parent.FUNDS.Text = "$"..FUNDSAMOUNT.."M"
else
end
I really dont know why this isnt working. I can print the value but cant print or change the text.

5 comments
Alright that script worked but now it only updates when the value manually updates. Ive tried to change it through script but nothing seems to work.
I dont follow what you mean. How was the AmountOfMoney value created, by the server or client? However it was created is how it must be changed or the change wont be replicated.
If you used a leaderstats style script to make the "AmountOfMoney" value then you need to change that value with a server script, this is a local script and it wont work without using a remote event.
I think im just gonna redo the entire money system in leaderstats.
If i've answered your question please accept.