Roblox Animation

Emotes: disabling the menu does not disable the chat command

You can open, customise and disable the emote wheel from a script, with up to 8 equipped. The detail that catches out anyone wanting total control: disabling the menu does not stop the player using the chat command.

by Gustavo Cantino8 min readBeginner

Produced with AI from the sources cited below and checked by automated verification against those same sources. After it was published, the editor read the full text. · Reviewed by Gustavo Cantino, 11/24/26 Editorial Policy

Typographic plate with the Roblox Animation category in large type, the beginner level below it, and a field of vertical lime green bars on a dark background.

The emote wheel exists in every Roblox game, and in most of them it shows what the player bought — not what the game has. In a social game that is excellent. In a game with a theme of its own, it is a medieval character dancing.

You can control that, and the documentation shows four routes. One of them has a limit that usually frustrates anyone wanting total control.

The problem

The starting point: emotes are expressive animations accessible through a chat command, or through the emotes menu, in the top right corner of any game.

Keep in mind that there are two access routes. It is the distinction this article turns on.

Every player has access to default emotes — dance, point and cheer. And additional emotes can be bought and equipped through the Marketplace, which means the wheel's contents vary from person to person and you decided none of it.

The documentation lists four possible customisations:

  • Opening and closing the menu from a script.
  • Adding or removing options from the menu.
  • Disabling access to the menu.
  • Playing an emote, targeting a specific player's character.

Step by step

1. Opening and closing. It is through GuiService's SetEmotesMenuOpen, with true or false. And to know whether the menu is open, GetEmotesMenuOpen.

The pair is useful for a game that needs to pause something while the wheel is on screen, or that wants to open the wheel at a specific moment — at the end of a match, for instance.

2. Customising the list. The customisation is done by defining catalogue emotes and equipping them on a Humanoid. There are two methods: SetEmotes defines the emotes, and SetEquippedEmotes equips up to 8 in the menu.

The official example goes in a LocalScript inside StarterCharacterScripts.

Two details change the result. First: the key names are customisable and appear to the player exactly as written. So they should be in the game's language and tone — "Greet" and not "hello_v2".

Second: the emotes appear in the order they were defined, starting at the top of the wheel and going clockwise. The order is yours, and whatever will be used most deserves the first position.

3. Disabling the menu. It is through StarterGui's SetCoreGuiEnabled.

4. Playing from a script. It is through the Humanoid's PlayEmote, passing the name as a string. The call returns true if the emote played and false otherwise.

That return value deserves to be used: false means the character does not have that emote in its description, which happens constantly when playing a catalogue emote on a player who does not own it.

An observation about what the wheel communicates. It is one of the few pieces of interface that appears in every Roblox game, always in the same corner, with the same shape. The player knows how to use it without learning.

That cuts both ways. Replacing its contents with your game's emotes takes advantage of a habit that already exists — no tutorial is needed. And switching it off removes something the player expects to find, which needs a better reason than aesthetics.

The middle option, which almost nobody uses, is the most interesting: keeping the wheel and changing the contents. The player keeps the familiar interface, and what comes out of it is yours.

A detail about where the code runs. Customising the list happens on the character's HumanoidDescription, from a LocalScript in StarterCharacterScripts — meaning once per character, and again on every respawn.

That has two consequences. The first is that the list has to be reapplied when the player dies and comes back, which the script's location already solves by design. The second is that, being client code, the list is a presentation decision: it changes what the wheel offers, not what the player can do through other routes.

The artifact

The script below replaces the default wheel with your game's, with the list declared in a table where name and order are explicit.

It respects the limit of eight with a warning rather than failing silently — because going over the limit is the kind of thing you discover by looking at the wheel and counting, which nobody does.

In the footer are the other three controls, with the comment that matters more than the code: the warning about what disabling the menu does not do.

Before the mistakes, the division that organises the four controls is worth stating: two are about the interface (opening/closing and disabling the menu), and two are about the content (defining the list and playing an emote). Confusing the two families is the origin of the main mistake — disabling the interface does not touch the content, and that is why the chat command survives.

Common mistakes

The mistake is in a sentence the documentation places right after explaining how to disable the menu: disabling the menu does not prevent an emote being performed through a chat command.

It is the direct consequence of there being two access routes. Disabling the menu closes one; the chat command stays open.

That breaks the expectation of anyone wanting total control. A horror game hiding the wheel to keep the atmosphere still has players dancing through the chat command. A competitive game disabling the menu to reduce taunting reduces nothing.

The way out exists and has a restriction of its own: you can disable the loading of the player's own emotes through StarterPlayer's UserEmotesEnabled property.

And here is the restriction: that property can only be set in Studio and cannot be set from a script.

Meaning it is a project decision, not a runtime one. You cannot switch emotes off during one stage and back on afterwards — it is on or off, full stop. Anyone wanting conditional behaviour has to design around that.

The second mistake is about the limit of eight. It is common to build a list with twelve good emotes and discover only the first few appear. There is no error, there is no warning — the wheel simply is the size it is.

The third is about the order. Since the emotes appear in the order defined, a list written "in the order I remembered them" produces a wheel where the most used one sits in the hardest position to hit. It is worth ordering on purpose.

The fourth is ignoring PlayEmote's return value. Playing an emote the character does not have returns false and nothing happens. Unhandled, the game looks frozen at that instant — and the cause is in a return value nobody read.

It is also worth noting that the default emotes — dance, point, cheer — are available to every player, with no purchase at all. That makes them the most reliable base for any gameplay use: a PlayEmote depending on a bought emote fails for most people, while one using the defaults works for everybody.

For NPC reactions and automatic celebrations, starting with the defaults is the route with no edge cases.

Defining the list and forgetting about respawning. Since the customisation is applied to the character's HumanoidDescription, it applies to that character. Code that runs once, outside StarterCharacterScripts, loses its effect the first time the player dies — and the symptom is a wheel that was right and went back to the default on its own.

Next step

The most interesting use of emotes is not the wheel: it is PlayEmote in your code.

An NPC that shrugs when the player asks something it does not know, a character that celebrates on completing an objective, a gesture that happens when two players meet — those are ready-made, tested animations that suit anybody's avatar, available through a one-line call.

It is far cheaper than animating each of those moments, and the result is better than most people could make by hand.

Before that, though, comes the theme decision: should your game's wheel show the player's emotes or yours? There is no right answer — a social game gains from personal expression, a game with a world of its own gains from coherence. What does not work is not deciding, because the default decides for you.

A practical way to settle it: look at the wheel a player would open in your game right now, on your own account, and ask whether what is in it would make sense coming out of one of your characters. If any of it would look out of place, the decision has already been made for you by whatever that player happens to own.

And, if the decision is to control it properly, remember it has two parts: the menu, which is disabled from a script, and the loading of the player's emotes, which is only disabled in Studio.

Sources

How we correct mistakes

Ready-to-use artifact

Your game's own emote wheel, with controlled ordering (LocalScript in StarterCharacterScripts)
lua
-- StarterCharacterScripts (LocalScript): replaces the default emote wheel
-- with YOUR game's.
--
-- Without this, the wheel shows the emotes the PLAYER bought -- which is
-- excellent in a social game and strange in a game with a theme of its
-- own, where the medieval character breaks into a dance.
--
-- ORDER MATTERS: the emotes appear in the order they were defined,
-- starting at the TOP of the wheel and going CLOCKWISE. Whichever gets
-- used most goes first.

local Players = game:GetService("Players")

local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local description = humanoid:WaitForChild("HumanoidDescription")

-- THE NAME IS WHAT THE PLAYER READS. It appears exactly as written here,
-- so it is worth writing it in the game's language and tone.
--
-- Swap the ids for those of the catalogue emotes you chose.
local EMOTES = {
	{ name = "Greet", id = 0 },
	{ name = "Celebrate", id = 0 },
	{ name = "Shrug", id = 0 },
	{ name = "Point", id = 0 },
}

-- up to 8 equipped; more than that is a choice nobody makes mid-match
local MAXIMUM = 8

local table_ = {}
local order = {}
for i, e in EMOTES do
	if i > MAXIMUM then
		warn("more than " .. MAXIMUM .. " emotes: the rest were ignored")
		break
	end
	if e.id ~= 0 then
		table_[e.name] = { e.id }
		table.insert(order, e.name)
	end
end

if #order > 0 then
	description:SetEmotes(table_)
	description:SetEquippedEmotes(order)
end

--[[
═══════════════════════════════════════════════════════════════════════
THE OTHER THREE CONTROLS
═══════════════════════════════════════════════════════════════════════

-- OPENING AND CLOSING from a script (LocalScript)
local GuiService = game:GetService("GuiService")
GuiService:SetEmotesMenuOpen(true)

if GuiService:GetEmotesMenuOpen() then
    -- e.g. pause something while the wheel is open
end

-- DISABLING THE MENU (LocalScript)
local StarterGui = game:GetService("StarterGui")
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.EmotesMenu, false)

-- CAREFUL: this hides the MENU. The chat command still works.
-- To stop the player's emotes loading, the property is
-- StarterPlayer.UserEmotesEnabled -- and it can ONLY be set in Studio,
-- under StarterPlayer > Character. No script changes it.

-- PLAYING an emote, with a return value
local ok = humanoid:PlayEmote("Celebrate")
if not ok then
    -- false = the character does NOT have that emote in its
    -- HumanoidDescription. Worth handling: a sound, some text, or
    -- simply ignoring it silently.
end
]]
In this article

Keep reading