I'm still very new to filtering enabled, and what I'm trying to do is repeatedly update a GUI with a money value that's on the server side. This is what I have, but it only works in studio, and not in game.
This is in the server script service
game.ReplicatedStorage.MoneyEvent.OnServerEvent:connect(function(player) player.PlayerGui.MoneyGui.TextBox.Text = ("Money:" .. player.Money.Value) end)
and this is in the gui
while true do game.ReplicatedStorage.MoneyEvent:FireServer() wait(1) end
Sorry if both of these scripts are terrible, I'm just now learning how to use FE. Any and all help is appreciated. :)
You CAN'T access PlayerGui on the server. Keep client sided elements on the client.