So I am just doing a simple thing, making GUIs invisible when you click on a certain button. For some reason, the buttons are going invisible but you can't script it to become visible again. This might be because I have used the roundify plugin on the text buttons but I am not sure. This is my code.
ClickDetector1.MouseClick:Connect(function()
script.Parent.Parent.Stats.TextButton.Visible = false
script.Parent.Parent.Storage.TextButton.Visible = false
script.Parent.Parent.ScreenGui.TextLabel.Visible = false
end)
No.MouseButton1Click:Connect(function()
script.Parent.Parent.Stats.TextButton.Visible = true
script.Parent.Parent.Storage.TextButton.Visible = true
script.Parent.Parent.ScreenGui.TextLabel.Visible = true
end)
Close.MouseButton1Click:Connect(function()
script.Parent.Parent.Stats.TextButton.Visible = true
script.Parent.Parent.Storage.TextButton.Visible = true
script.Parent.Parent.ScreenGui.TextLabel.Visible = true
end)
Yes.MouseButton1Click:Connect(function()
wait(10)
script.Parent.Parent.ScreenGui.TextLabel.Visible = false
end)
Shop.MouseButton1Click:Connect(function()
script.Parent.Parent.ScreenGui.TextLabel.Visble = false
script.Parent.Parent.ScreenGui.TextLabel.Position = UDim2.new(0.386, 0,0.057, 0)
end)
Please be aware that where the visible check is in the properties tab, it is ticking on and off when I want it to, but it is not physically becoming visible, even if the visible property in the properties tab is ticked on. Thank you if you can help!

1 comment
By the way, I can just make the GUIS go off the screen and that would make it "invisible" but it will be more complicated to do. Just wanted to figure out why the visible thing isn't working.