Is there a way to identify which menu tab a player is in?

I can see that you can check if the player opened the menu by using GuiService.MenuOpened:Connect(function()..., but would there be a method to check which tab/section the player is looking at? If the player is looking at the players tab, the settings tab, or the reports tab.

1 Like

i think just check if that part of the gui is visible

The roblox menu is stored in CoreGui which the client doesnt have access to.

unfortunately i don’t think theres a way to do this with the coregui,

for the leaderboard, chat, backpack and such you could disable those and make a custom gui however the esc menu cannot be disabled and there’s no way to check if it is active

only thing i can think of doing is detecting when the player presses the escape key