Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I fix this super simple GUI?

Alright, This gui is suppposed to open a frame when u click it, which it does, it also makes it self not visible and the close gui visible, the close gui makes anything open inside the frame invisible when u click it and makes the frame it self invisible along with making itself invisible,making the open visible You can test it here to see what I mean, the button is called customize http://www.roblox.com/PBCord-place?id=154907463 Script for the open button

play = game.Players.LocalPlayer.PlayerGui
script.Parent.MouseButton1Down:connect(function()
	script.Parent.Parent.Choices.Visible = true
	script.Parent.Parent.Main2.Visible = true
	script.Parent.Parent.Main.Visible = false
	
end)

Script for the close button

mom = game.Players.LocalPlayer.PlayerGui

script.Parent.MouseButton1Down:connect(function()	
		mom.ScreenGui.IntroGui.Title.Cust.Choices.Visible = false--Disables main things			
		mom.ScreenGui.IntroGui.Title.Cust.Main2.Visible = false
		mom.ScreenGui.IntroGui.Title.Cust.Main.Visible = true --Stops here
		script.Parent.Parent.Parent.Parent.Parent.Stock.Frame.Visible = false--Starts small
		
end)

Can someone tell my why it wont work

1 answer

I can kinda grasp this, but you'll have to elaborate more, with better wording.

The scripts are fine in terms of syntax and function, but it's structured oddly...

1 comment

0

Go to the place and see what I mean...There will be a big customize button colored gray

This discussion is preserved as it was. New answers, comments, and votes are closed.