0

# Cannot make a TextLabel Invisible/Visible. Can you help? [closed]

local b = script.Parent

local a = true

b.MouseButton1Down:Connect(function()

b.Position = UDim2.new(0.009, 0,0.446, 0)
end)

b.MouseButton1Up:Connect(function()

b.Position = UDim2.new(0.009, 0,0.429, 0)
script.Parent.Sound:Play()

end)

b.MouseEnter:Connect(function()
b.ImageColor3 = Color3.new(1, 0.215686, 0.215686)
game.StarterGui.PurchaseGUI.ImageLabel["13433400"].TextLabel.Visible = true
end)

b.MouseLeave:Connect(function()
b.ImageColor3 = Color3.new(1, 0, 0)
game.StarterGui.PurchaseGUI.ImageLabel["13433400"].TextLabel.Visible = false
end)

0
Just because you paste a script and question doesn't mean we don't know what context it is. Is it a local script? Server Script? What are you trying to achieve? What is your goal? At least apply one of these things to make us help you. Pasting a script isn't gonna help us any better. Dovydas1118 1410 — 4d
0
Can you be more specific? YandH015 9 — 4d

### Closed as Non-Descriptive by Dovydas1118 and Benbebop

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.

0

Im not sure if what your goal is but I think I can help.

There are two ways of doing this, you can enable or disable the Screen GUI or change the border pixel size and transparency for the TextLabel itself.

Option 1)

ScreenGUI.Enabled = false


Option 2)

TextLabel.BorderSizePixel = 0
TextLabel.BackgroundTransparency = 100