Collapse Sidebar


This function allows developers to enable or disable default Inspect and Buy functionality. This is useful when you want to disable the feature in your game, entirely or during certain parts of your game (such as a cutscene). The feature is enabled by default.

The code sample below demonstrates how to disable the Inspect Menu for your game:

local GuiService = game:GetService("GuiService")

See also

  • Avatar Inspect Menu, an article providing a more detailed explanation of the Inspect and Buy feature and how it works
  • GuiService/InspectPlayerFromHumanoidDescription, allows a developer to bring up the Inspect menu showing the assets listed in this HumanoidDescription object. This is especially useful when what is being worn on a player’s avatar on the Roblox platform is not necessarily the same as their in-game appearance
  • GuiService/InspectPlayerFromUserId, allows the Inspect Menu to appear showing the user that has the given Player/UserId|UserId. This is especially useful when you want to inspect players who aren’t in the current game


Name Type Default Description

A boolean indicating whether to enable or disable the Inspect Menu feature


Return Type Summary

No return