I was creating a game and I’m trying to make two GUI’s in the same parent invisible.
Here’s the code: (look at explorer to see what I’m trying to do)
If you want to disable that ScreenGui, it’s a simple
script.Parent.Parent.Enabled = false
This script is working for me.
local button = script.Parent
button.MouseButton1Click:Connect(function()
game.Lighting.Blur.Size = 0
script.Parent.Parent.Enabled = false
end)