script.walletval.OnServerEvent:connect(function(player)
while true do
wait(0.5)
txt = player.PlayerGui.Gui.Wallet
val = script.Parent.Parent.Data.Wallet
txt.Text = "I have " .. val.Value
end
end)
this is a remotevent that is meant to say the amount of cash someone has. For some reason it isn't working when fired and is showing no errors.

3 comments
https://i.gyazo.com/12cf4e51409ee5aac4c2723422109431.png
You should generally use local scripts for GUI manipulation
Changed it to local and it still doesn't work.