local GuiText = game.Players.LocalPlayer:WaitForChild("PlayerGui").ScreenGui.TextBox
GuiText.Visible = false
game.Workspace.GUIPart.SurfaceGui.TextButton.MouseButton1Click:Connect(function()
GuiText.Visible = true
game.Workspace.GUIPart.SurfaceGui.TextButton.Text = GuiText.Text
end)
I'm trying to make the surface Gui's text the same as the Screen Gui text. However the Surface Gui is not updating to what the player put into the Screen Gui.

4 comments
btw, i would consider using remote events if you want everyone in a game to see the changes one person made to the surface gui
also, are there any output errors?
Okay.
There are no errors.