Still have questions? Join our Discord server and get real time help.
1

# How do I disable a TextLabel once it's been enabled?

I tried doing it with this:

game.StarterGui.ScreenGui.TextLabel.Visible = false


Didn't work. I tried doing things more extremely.

game.StarterGui.ScreenGui.TextLabel:Destroy()


Then I resorted to this.

game.StarterGui.ScreenGui:Destroy()


And it still didn't work. Please send help.

1

## StarterGui and PlayerGui are different.

If you're using a Local Script, "which you should be", then get the Local Player and then you can do the rest rather easy.

--Local Script
local plr = game.Players.LocalPlayer
plr.PlayerGui.ScreenGui.TextLabel.Visible = false


Good Luck!