Frame > TextButton > script
Frame > Interface
That's the relevant hierarchy.
When I click the TextButton nothing happens. I haven't been able to figure out why so I'm asking the community. Any suggestions? Sorry, it's not much information.
script.Parent.MouseButton1Click:connect(function()
script.Parent.Active = false
for i = 3, 1, -1 do
script.Parent.Text = ("Opening in " .. i)
wait(1)
end
script.Parent.Text = "Opening interface."
for i = 0, 1, .05 do
if i >= script.Parent.BackgroundTransparency then
script.Parent.BackgroudTransparency = i
end
if i >= script.Parent.TextTransparency then
script.Parent.TextTransparency = i
end
wait(.05)
end
for i = 1, 0, .05 do
script.Parent.Parent.Interface.TextTransparency = i
if i >= .5 then
script.Parent.Parent.Interface.BackgroundTransparency = i
end
wait(.05)
end
end)

2 comments
Is the TextButton's Active property set to true?
It is.