Turn all guibuttons in table visible

  1. What do you want to achieve? Loop through all gui buttons found in table then make them visible.

  2. What is the issue? They stay invisible regardless.

  3. What solutions have you tried so far? I tried doing testbt.Visible = true but that didn’t work…

local testbt = {
	Items = {Open=screen.Items},
	Coins = {Open=screen.Coins},
	Shop = {Open=screen.Shop}
}

close.MouseButton1Click:Connect(function()
	for k,t in pairs(testbt) do
		t.Open.Visible = true
	end
end)

What are screen.Items, screen.Coins, and screen.Shop? (TextButtons, Frames, Folders, etc.?)

Textbuttons. (Items) while screen is a frame.

This text will be blurred

Did you check after playing in studio whether the Visible values change? It may be that the ScreenGui’s Enabled property is set to false.

I made sure the screengui is enabled whilst testing.

The code looks fine, check the console for any errors.