Skip to main content
Live-verified Lua API reference

Serotonin Lua API Reference

Honest, complete, up-to-date documentation for the Serotonin Lua sandbox. Every signature roundtripped against the live runtime.

14 libraries
cheat-side, every function probed
~150 functions
+ Instance / Part / Player / Vector3 / Color3
build 390ba09
audited 2026-04-26

What is in here

Live-verified

Every signature confirmed by `pcall` introspection on a real Serotonin sandbox. No hearsay, no stale changelog.

npx-installable

Drop-in stdio MCP server published as `mcp-serotonin-docs`. One-click VSCode install, one-line Codex install.

Crashers documented

Every native crasher we hit is on the page that exposes it: `audio.PlaySound` non-WAV, `cheat.LoadString`, `_G`, undocumented LocalPlayer fields.

Bilingual

Full English and Russian translations side by side, kept in sync. Function names and error strings stay verbatim.

Quick start

Drop this file into C:\Serotonin\scripts\ and load it from the Scripting tab.

lua
cheat.register("onPaint", function()
draw.TextOutlined("Hello, Serotonin!", 20, 20,
Color3.fromRGB(255, 255, 255), "Verdana")
end)
Coverage

14 cheat-side libraries (utility, memory, entity, game, cheat, bit, file, audio, mouse, keyboard, http, websocket, draw, ui) plus 5 userdata types (Instance, Part, Player, Vector3, Color3). Build version-390ba09e7e944154, runtime is LuaJIT 2.0.3 implementing Lua 5.1. Pages publish only after every signature is roundtripped against the live runtime via verify_all_api.lua.

About this project

Built by DesirePro. I am not a Serotonin developer. The official docs at serotonin-1.gitbook.io have not been updated to match recent runtime changes, so this site exists to keep the community unblocked. Every page here is a hand-audit against a real cheat instance, not a copy of the upstream gitbook.

Telegram: @DesireProDiscord: desireproGitHub