function onClicked() script.Parent.Parent.Parent:Remove() end script.Parent.MouseButton1Down:connect(onClicked) if plyr.Status.Menu.Value == true then script.Parent.Visible = false wait(3) script.Parent.Parent.Parent:findFirstChild("Open/Close").window.Visible = true script.Parent.Parent:remove() elseif plyr.Status.Menu.Value ~= true then print ":D" end