serverstorage = game:GetService("ServerStorage") gui = game.Workspace.Invis.SurfaceGui.TextLabel if gui.Visible == true then print("a") gui.Text = "a game by uwot_m9" end
This is a script in the workspace, and the "gui" is a SurfaceGui.TextLabel
i get no errors...?
And also it doesn't print... :(
you have to set the gui visible on the client... try cycling through each player and finding the gui in their playergui, then update it there. I've added some helpful code below.
for i, player in ipairs(game.Players:GetChildren()) do if player.PlayerGui then player.PlayerGui.GUI_NAME_HERE.Text = "text here!" end end
Note: Use this for loop to set each player's gui to visible if needed