Answers for "open gui script"

Lua
1

open gui script

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)
Posted by: Guest on March-04-2021

Browse Popular Code Answers by Language