US Trends

how to stop the command :disco in roblox

The easiest way to stop the :disco command in Roblox is to remove, disable, or rename the script that listens for it. In many admin systems, the command is hardcoded, so if you want it gone for players, you need to edit the server-side command script rather than just hiding it in chat.

How to stop it

  1. Open the admin or command script in ServerScriptService.
  2. Find the part that checks for :disco, !disco, or disco.
  3. Delete that command block, comment it out, or change the trigger word to something else.
  4. If the effect already started, make sure there is a matching stop function that resets lighting, music, and any color effects.

What to look for

  • Chat listeners like player.Chatted or command handlers.
  • Conditions that compare the message to :disco.
  • Code that changes Lighting, plays music, or loops color changes.
  • A separate stop command, often :undisco, :stop, or similar, depending on the admin system.

If you only want to block players

If you want the command to stay for owners but not everyone else, keep the script but restrict it to your UserId or admin list. The Roblox forum example shows the command being wrapped in an admin check before running the disco effect.

Example

A simple pattern is:

  • allow only admins,
  • check for the command text,
  • run the effect,
  • provide a stop function that restores normal lighting and clears music.

If you want, I can turn this into a clean Roblox Studio script that disables :disco completely.