Hello! I want to update the text everytime you win but it doesn’t update or even print. I need help!
local plr = game.Players.LocalPlayer
local MoneyFolder = workspace:WaitForChild("Money"):GetChildren()
while true do
for i, v in pairs(MoneyFolder) do
if v:IsA("Part") then
local UpdateMoney = v.Money.Value + plr:WaitForChild("leaderstats"):WaitForChild("MoneyConfig").MoneyMP.Value
print("Founded")
v.BillboardGui.TextLabel.Text = "💸 +"..UpdateMoney.." Money"
print("Updating...")
end
end
wait(5)
end