So i was making a loop in a script that takes the value from a number value and puts it in a gui.
local function SetMoney() MoneyText.Text = Money.. " $" end while true do SetMoney() wait() end
The "Money" variable is the value of the number value while the "MoneyText" variable is the textbox in the gui. When i change the value of Money, the textbox does not change. Why?