This is what I am making: https://gyazo.com/f12337d0ec3c446269a676178774ebe1
When I click on the check box for "I agree" and press play it goes away but when it is even unchecked, it goes away (I don't want that to happen if it is unchecked).
So what I want is if the check mark is visible then if I press "PLAY" I want it to go away.
script.Parent.MouseButton1Click:connect(function()
if script.Parent.Check.Visible == false then
script.Parent.Check.Visible = true
else if script.Parent.Check.Visible == true then
script.Parent.Check.Visible = false
end
end
if script.Parent.Check.Visible == true then
script.Parent.Parent.Play.MouseButton1Click:connect(function()
script.Parent.Parent.Visible = false
end)
end
end)

2 comments
Nope
can you provide a hiearchy of this gui?