Открытый сценарий графического интерфейса

local Button = script.Parent
local GUI = game.StarterGui.FRAME -- Put Frame Location Here

Button.MouseButton1Click:Connect(function()
	print("Running Show Shop Function")
	if 	GUI.Visible == false then 
		GUI.Visible = true
	elseif GUI.Visible == true then
		GUI.Visible = false
	end	
end)
Undefined