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)
COMMUNITY QUESTION
Cannot make a TextLabel Invisible/Visible. Can you help?
1 answer
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
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
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.
Can you be more specific?