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

0

You should generally use local scripts for GUI manipulation

0

Changed it to local and it still doesn't work.