game:GetService("ReplicatedStorage").RemoteEvent.OnServerEvent:Connect(function(plr)
local newgui = plr.PlayerGui.WaterMenu.Frame.Z
newgui.Text = "---"
end)
I made this remote event to do this to a player Gui and for some reason it only works if I keep it in starterGui and it won't work if I click a text button to insert the WaterMenu into the PlayerGui.

1 comment
What's the client's code?