Why does this Menu GUI Local Script not work?
Please make your question title relevant to your question content. It should be a one-sentence summary in question form.
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
01 | UpdateFrame = script.Parent.UpdateFrame |
02 | Button = script.Parent.UpdatesButton |
05 | Button.MouseButton 1 Down:connect( function (open) |
08 | UpdateFrame.Visible = true |
10 | elseif Open = = true then |
12 | UpdateFrame.Visible = false |