I try to remove a text label specifically only for me but no anyone else.
game.Players.PlayerAdded:Connect(function(Player) Player.CharacterAdded:Connect(function(Character) local GuiClone = script.OverheadGui:Clone() GuiClone.Parent = Character.Head local UpperText = GuiClone.UpperText local MiddleText = GuiClone.MiddleText local LowerText = GuiClone.LowerText local Background = GuiClone.Background if Player.Name == "TechModel" then MiddleText.Visible = false end end) end)
And the text label does not disappear and I'm not sure why. I want my MiddleText to not show up for my Gui above my head.' Thank you.
game.Players.PlayerAdded:Connect(function(Player) Player.CharacterAdded:Connect(function(Character) if Player.Name == "TechModel" then local GuiClone = script.OverheadGui:Clone() GuiClone.Parent = Character.Head end end) end)
This code only puts the Gui in the player's character if it's you, no need to make it invisible (make sure it's in a server script)
Let me know if I helped