Skip to main content
Scripts are TypeScript or JavaScript modules that run inside the cheat. The spd CLI creates projects, compiles them and keeps the type definitions up to date.

Install

1

Editor

VS Code or WebStorm. The CLI sets up types and the debugger for both. Projects also come with a CLAUDE.md and an API cheat sheet for Claude Code and other assistants.
2

Node.js

Node.js LTS, for the TypeScript compiler. Plain JavaScript projects run without it, but you lose type checking.
3

Spurdo CLI

In PowerShell:
Restart the terminal, then check it with spd --version.

Create a project

It asks for a name, TypeScript or JavaScript, and a linter (Biome, ESLint or none), then creates the project in C:\Spurdo\scripts\ and installs what it needs.
manifest.json holds the name, entry file and permissions. The new project already has a working example in src/index.ts: a menu page, an ESP element and enemy boxes. JavaScript projects have no dist\ folder, the cheat runs src\index.js directly.

Run it

spd watch recompiles on every save and the cheat reloads the script when its files change. In a JavaScript project there’s nothing to compile, just save. console.log output and uncaught errors go to the cheat log, tagged with the script name. A minimal script, to see the loop working:
Logic goes in tick, drawing in render.

Commands

Debugging

Turn on Debug for the script in the cheat’s Scripts page (it reloads), then run the Attach to Spurdo configuration in VS Code or WebStorm. It connects to 127.0.0.1:9229, and source maps are on, so breakpoints work in your .ts files.

Next steps

Build an ESP

Builder elements, overlay boxes and a menu toggle, step by step.

Globals

Events, timers, console, script.

Render

Drawing on the overlay.