Getting started with mk-0
Updated for version 1.4.3
mk-0 is the mk Luau script editor and executor. It runs scripts in the game open in mk-661, on the same computer.
Before you start
- Open mk-661 and join a game.
- Sign in to mk-0 with the same Discord account as mk-661.
- Have mk-0 time: 24 free hours on the access page or a plan.
The side menu has Editor, Script Hub, Client, Settings, Shortcuts, Decompiler and Appearance (Alt+1 to 7).
Editor
- Up to 40 tabs; drafts are saved every 5 seconds.
- Colourful highlighting, autocomplete (Tab or Enter accepts) and closing brackets and quotes, in Settings.
- Run runs the open tab; in the editor, Ctrl+Enter does too.
In-game shortcuts
They work with the game on screen, without going back to mk-0 (Shortcuts page, on by default):
| Key | What it does |
|---|---|
| Ctrl+Shift+F5 | Runs the open tab |
| Ctrl+Shift+F6 | Runs again |
| Ctrl+Shift+F7 | Runs what you copied |
| Ctrl+Shift+F8 | Shows or hides mk-0 |
On the same page you can put one of your scripts on a key and turn on the game quick menu.
Autorun
Switched-on scripts in the autorun folder run on their own, in name order (use 01, 02…), once per server: when you join and after each teleport.
~/.local/share/mk-studio/mk-0/autorun/
- A subfolder named after the game number (
autorun/<placeId>/) only runs in that game. - Up to 200 files. If the mk-661 session is not ready within 3 minutes, autorun does not run for that game.
Script Hub
Community scripts from ScriptBlox. Opening one creates an editor tab; nothing runs on its own. Script Hub also suggests scripts for the open game (with several games, it uses the first session opened); you can turn that off in Settings › General.
AI access (MCP)
In Settings, the AI access (MCP) card lets an AI assistant (Claude Code, Codex) read the game output and run scripts through mk-0. It is off by default. Every script goes through your account like the Run button: without active time, nothing runs. The card shows the command to connect, for example:
claude mcp add --scope user mk -- ~/.local/bin/mk-0 --mcp
When your time runs out
mk-0 warns you when 10 minutes and 1 minute are left. When the time runs out, the editor stays open, but scripts do not run until you get more time on the access page.
Warning: using scripts is against the Roblox Terms of Use and the account can be banned. Use an alt account.
Other guides
- How to install mk on Linux
One command, requirements, distros and installer options.
- Updating and mk commands
mk update, mk doctor, mk logs, mk links, mk repair and mk cli.
- mk troubleshooting
Command not found, fonts, graphics, sound and joins that hang.
- Private servers and browser links
Invite links, the browser Play button and mk links.
- FastFlags in mk-661
Where to paste, accepted formats, limits and when they apply.
- mk-0 plans and time
24 free hours, 3 to 120 day plans, themes and mk cli.
Did not find the answer? Ask on Discord.