Blog › Guides

How to make a main menu in Roblox Studio with AI

A main menu is a full-screen GUI shown when a player joins, a camera held on a nice view of your map, and a Play button that hands control back. Describe the menu to RoAssistant and it draws the screen in the look you picked and writes the script behind the buttons.

What a main menu is made of

  • A ScreenGui in StarterGui: the title, a Play button, and usually Settings and Shop buttons.
  • A LocalScript that shows the menu on joining and hides it on Play.
  • A camera held in place while the menu is up, pointing at a view of the map, then returned to the player.
  • Movement switched off behind the menu, so the character does not wander while the player reads.
  • A setting that stops the menu coming back every time the character respawns.

Why build it with RoAssistant

RoAssistant draws the menu in the look you picked, scripts every button and checks the whole screen at a phone size before it is done.

What to ask for

Type it the way you would explain it to a friend. For example:

  • Make a main menu with the game title, Play, Settings and Shop buttons, in the Studs style.
  • While the menu is open, hold the camera on the castle and slowly turn it.
  • Add a settings screen with a music volume slider and a button to go back.

Step by step

  1. Sign in at roassistant.me with your Roblox account.
  2. Install the free plugin, RoAssistant AI, from the Roblox Creator Store: https://create.roblox.com/store/asset/138810452100215/RoAssistant
  3. Open your place in Roblox Studio, open the plugin and press Connect.
  4. Choose a UI look in the build settings so every screen matches.
  5. Describe the menu: the title, the buttons and what the camera should show.
  6. Play, press each button, and ask for changes.

Check that it works

  • The menu appears on joining and Play gives you your character and camera back.
  • It does not reappear when your character resets.
  • Every button does something, and Back returns to the menu.
  • It fits on a phone-size screen with buttons large enough to tap.

Common problems

The menu comes back every time I die

The ScreenGui is set to reset on spawn. Ask: "do not show the main menu again after respawning".

The camera stays stuck after I press Play

The script took the camera and never gave it back. Ask for the camera to return to the player when Play is pressed.

The buttons are in the wrong place on my phone

The menu was sized in pixels. Ask the assistant to check the menu on a phone-size screen and fix what spills off or overlaps.

Facts in this post were last checked on .

All posts · RoAssistant

RoAssistant · Studio plugin · Privacy Policy · Terms of Service