Otwórz skrypt GUI
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