#✅ | how do i make a button open a custom GUI
1 messages · Page 1 of 1 (latest)
You can do exactly that with FancyMenu’s Custom GUI feature + a button action. Here’s the quick flow:
- Go to Customization → Custom GUIs → Manage Custom GUIs, create a new GUI and give it an unique identifier (e.g.
pack_admins_page). - Open the new GUI and build the layout you want (add backgrounds, images, text, etc.). Make sure customizations are enabled for that screen so the layout actually loads.
- In the layout where your “Admins” button lives, open the button’s Action Script and add an Open Screen or Custom GUI action. Set the value to the identifier you chose (
pack_admins_page), then save the layout. - Save everything and test: clicking the button should now open your custom GUI.
If you need the exact steps for each part, check the docs for creating custom GUIs and for button actions:
Let me know if you want help setting up the layout contents or the button values!
i get an error FAILED TO OPEN SCREEN!
That error means FancyMenu couldn’t find/open the identifier you entered.
- Double-check the identifier of the custom GUI: go to Customization → Custom GUIs → Manage Custom GUIs, select your GUI entry and copy the identifier directly from there (or open its layout and copy it from the debug overlay).
- Paste that exact identifier into the button action’s Open Screen or Custom GUI value. Even a small typo or missing
modid:gui_idwill trigger “FAILED TO OPEN SCREEN”. - Make sure the custom GUI actually exists (you created it and saved it) and that it’s not disabled by some loading requirement.
If the identifier is correct but the error keeps appearing, try opening the custom GUI manually from “Manage Custom GUIs” to ensure it loads. If that works but the button still fails, rebuild the button action so it points freshly to the GUI ID.
Doc links:
Let me know what identifier you’re using once you’ve verified it and I can help double-check!
custom_admin_gui
If your custom GUI identifier is custom_admin_gui, make sure:
- The GUI actually exists with that identifier in Customization → Custom GUIs → Manage Custom GUIs. Copy it from there just to be safe.
- Your button’s action is
Open Screen or Custom GUIand the value is exactlycustom_admin_gui(no extra spaces). - The GUI is enabled and loads when opened manually — if it fails even when opened from the manager, fix that first.
If you still get “FAILED TO OPEN SCREEN,” re-open the action editor, delete the action, add it again, and paste the identifier from the manager to avoid typos.
Docs:
Let me know if the GUI opens manually but not via the button and I can help dig deeper!
✅ | how do i make a button open a custom GUI