How To Open and Close a GUI - Roblox Studio EASY!!
Hey everyone, today I am showing you how to make a open and close a GUI... #1 Script local frame = script.Parent.Parent local button = script.Parent local button2 = script.Parent.Parent.Parent["OpenFrame"] --Rename this to your open button name button.MouseButton1Click:Connect(function() frame.Visible = false button2.Visible = true end) #2 Script local button = script.Parent local frame = script.Parent.Parent.ShopFrame -- Rename the “Frame” to the name of your frame button.MouseButton1Click:Connect(function() button.Visible = false frame.Visible = true end) Hope this helped!
Hey everyone, today I am showing you how to make a open and close a GUI... #1 Script local frame = script.Parent.Parent local button = script.Parent local button2 = script.Parent.Parent.Parent["OpenFrame"] --Rename this to your open button name button.MouseButton1Click:Connect(function() frame.Visible = false button2.Visible = true end) #2 Script local button = script.Parent local frame = script.Parent.Parent.ShopFrame -- Rename the “Frame” to the name of your frame button.MouseButton1Click:Connect(function() button.Visible = false frame.Visible = true end) Hope this helped!