Basically, I have a TextButton which when clicked, I want a certain thing (called 'display' in this case) to become visible, however it triggers when I join the game and don't even click the button. I had to create a IntValue so I could find the part I am trying to make Visible, as the TextButton's parent changes. Any help to resolving this is appreciated.
y = Instance.new("IntValue")
y.Parent = script.Parent
wait(.1)
h = script.Parent.TextButton5:Clone()
h.Parent = script.Parent.Screen
h.MouseButton1Down:connect(function()
y.Parent.Parent.display.Transparency = 0
y.Parent.Parent.display.Decal.Transparency = 0
end)

2 comments
To debug, try setting the transparency to 1 within the script -- preferably as far towards the top as possible.
Sorry. Doesn't work.