This is a Discord Rich Presence integration for Roblox Studio. It shows your current workspace, active script, and editing status directly in Discord!
StudioRPC is a lightweight local server and a Roblox Studio plugin that connects your Roblox Studio activity to Discord Rich Presence. It updates your Discord status with details like the current project, active script name, line count, and more in real-time.
- Displays real-time Roblox Studio workspace and script info on Discord
- Modular Roblox Studio plugin with customizable activity info
- Quick setup
Note
The local server scripts currently only support Windows (as that's all I have to test on). If you have coding knowledge for other operating systems, feel free to make your own operating system supported version!
Important
All Python scripts were made with Python 3.12. Other versions have not been tested and may cause instability and issues
- Python 3.12
- Discord Desktop App running on your computer
- Roblox Studio
- Windows 10 or higher
-
Download the assets
- Go to the Releases section of this Repository
- Download the latest version of the assets
- [ReleaseVersion]_WINDOWS.zip
- StudioRPC.rbxmx
-
Install Python
You can download Python from the Microsoft Store or at python.org -
Install Python dependencies:
pip install flask pypresence pystray pillow pywin32 colorama
- If that command does not work, try this:
python -m pip install flask pypresence pystray pillow pywin32 colorama
- If that command does not work, try this:
-
Run the server:
cd PATH\TO\STUDIORPC # Change this to the file location of where you saved StudioRPC python StudioRPC.py
Do not close the opened command prompt otherwise the local server process will be terminated.
To kill the process/stop the connection, press CTRL + C with the command prompt window selected, or Right click "StudioRPC" in your System tray > Quit StudioRPC
If you want StudioRPC to start automatically when you turn your computer on, run this command:
cd PATH\TO\STUDIORPC # Change this to the file location of where you saved StudioRPC python StudioRPC_autostart.py
When prompted
"Do you want to add StudioRPC to startup?", type"yes"or"y"then pressENTERto confirm -
Add the plugin
Open Roblox Studio, click the "Plugins" button on the upper ribbon, click "Open Plugins Folder" then drag and drop the
StudioRPC.rbxmxfile you downloaded previously into the opened folder -
Setup plugin
-
New Roblox Studio UI
Navigate to the "Plugins" button on the upper ribbon, select "StudioRPC" then click "StudioRPC" once again.
-
Old Roblox Studio UI
Navigate to the "Plugins" tab on the upper ribbon, locate the "StudioRPC" plugin button and click it.
Follow the steps on the plugin window If you have made no changes to the StudioRPC.py file, you can simply press the "Skip" button at the bottom of the window.
Otherwise, input the new Address of the hosted server (or leave blank to use default if you haven't changed it), and input the Port that the requests should use (leave blank to use the default).
-
Warning
The plugin limits what ports you can set to between 1024 and 65535 not only for stability and conflicts reasons, but also to avoid commonly used system ports or services.
-
The Flask server listens on http://127.0.0.1:52341 (http://localhost:52341) by default.
-
The Roblox plugin sends updates to this local server. This updates your Discord Rich Presence.
-
Your Discord profile will show your Roblox Studio status, including active script and workspace info.
-
Make sure the Discord desktop app is running.
- This plugin will not work if you are using the Browser version of Discord.
-
Ensure there’s no firewall or antivirus blocking local port 52341 or the port you set.
-
If updates fail, restart the Flask server and Roblox Studio.
-
Check the console for error messages.
Contributions are always welcome! Feel free to:
- Report bugs or issues
- Suggest improvements or new features
- Submit pull requests
- Please follow the existing code style and provide clear commit messages.
- Create other operating system support
This project is open source and available under the MIT License.
Created by olmac116
