This is my starter template for building Roblox games with TypeScript + Rojo + Roblox-TS
- Click "Use this template" on GitHub
- Name your repo (for exaple 'my-game')
Or clone it directly with degit:
npx degit KondyDev/roblox-ts-template my-game
cd my-gamenpm installStart TypeScript watcher:
npm run watchRun Rojo to sync with Roblox Studio:
rojo servesrc/
├─ client/ # Client-side scripts
│ └─ main.client.ts
├─ server/ # Server-side scripts
│ └─ main.server.ts
└─ shared/ # Shared code for client & server
└─ module.ts
After compilation, the Lua files are generated inside the out/ folder.
npm run build– compile TypeScript once.npm run watch– compile TypeScript continuously.rojo serve– start Rojo server (for live sync with Studio).rojo build -o game.rbxlx– build the project into a.rbxlxfile.
- Node.js + npm
- Roblox Studio + Rojo Plugin
- Rojo CLI (install via
cargo install rojoor from Releases) - VS Code (recommended extensions: Roblox LSP, Prettier, ESLint)
Template by Kondy.