BROWSE DOCUMENTATION
Documentation / JoinUser

JoinUser

Resolve a Roblox username and launch a saved account into that user's current server.

Overview

JoinUser resolves the target username, checks the target's presence, obtains the current place and job ID, and launches the selected saved account into that session.

The target must be in a Roblox game and the selected account must have a usable saved cookie.


Usage

Text
JoinUser <account> <target_username>

With password protection enabled, send AUTH <password> | JoinUser <account> <target_username>


Complete Python example

Python
import asyncio
import websockets
import json

URI = "ws://localhost:8765"

async def main():
    async with websockets.connect(URI) as ws:
        print("Connected to WebSocket server")

        await ws.send("JoinUser myAccount SomeUsername")

        response = await ws.recv()
        print(json.loads(response))

if __name__ == "__main__":
    asyncio.run(main())

Example response

JSON
{
  "ok": true,
  "result": {
    "action": "JoinUser",
    "account": "Main",
    "target_user": "ExampleUser",
    "place_id": "123456789",
    "job_id": "server-job-id"
  }
}