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

Why does this Menu GUI Local Script not work?

This is for a menu (Menu is named Stats in my place) button, but if i click, the menu won't show up. Why doesn't it work? Button = UpdatesButton Frame (The menu GUI) UpdateFrame

UpdateFrame = script.Parent.UpdateFrame
Button = script.Parent.UpdatesButton
Open = false

Button.MouseButton1Down:connect(function(open)
	if Open == false then
		Button.Text = "Close"
		UpdateFrame.Visible = true
		Open = true
	elseif Open == true then
		Button.Text = "Stats"
		UpdateFrame.Visible = false
		Open = false
	end
end)

1 comment

0

Your script may be disabled.

1 answer

If you mean menu GUI / UpdateFrame is ScreenGui I would say the problem is there is no Visible inside ScreenGui. So, I recomend you for the UpdateFrame you use A Frame, not ScreenGui if you use ScreenGui for the UpdateFrame then it won't work.

Or if thats not what you want then put in comments for more info so I can tell you whats wrong. The script has no problem.

2 comments

0

Actually the UpdateFrame is a Frame, but it won't work..

0

Oh hmm let me think again I will edit it if I found the answer

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