The part where we see the username of the player works fine, but i can not see the actual text.(this works fine locally but not publicly)
--public script
game.ReplicatedStorage.OnEnter.OnServerEvent:Connect(function(x)
for i,v in pairs(game.Players:GetChildren()) do
v.PlayerGui.ScreenGui1.TextLabel.Text = x.PlayerGui.ScreenGui.TextBox.Text
v.PlayerGui.ScreenGui1.TextLabel1.Text = x.Name
end
end)
--local script
script.Parent.MouseButton1Click:Connect(function()
game.ReplicatedStorage.OnEnter:FireServer(game.Players.LocalPlayer)
end)

3 comments
gui objects are cloned locally
also, sending the localplayer when doing FireServer is unnecessary, as OnServerEvent has a built in player parameter
Yeah, since GUIs are local you would have to fire all of the clients to update their GUI.