roblox-luau
Script a Roblox experience in Luau: get services, create and parent Instances, connect events, run server Scripts vs client LocalScripts, and communicate across the client/server boundary with RemoteEvents/RemoteFunctions (server-authoritative). Use when building or debugging Roblox Studio scripts — when the user mentions Roblox, Luau, services, RemoteEvent, Instance.new, PlayerAdded, or client vs server. For saving player data use roblox-datastores.
npx skills add gamedev-skills/awesome-gamedev-agent-skills --skill roblox-luau --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Roblox Luau Scripting Script a Roblox experience in **Luau**: services, `Instance`s, events, the server/client split, and secure cross-boundary communication. Targets the current Roblox engine and Studio. ## When to use - Use when writing Roblox scripts: getting services, creating/parenting instances, connecting events, deciding server vs client, or wiring `RemoteEvent`/ `RemoteFunction` communication. - Use when the project has `Script`/`LocalScript`/`ModuleScript` objects, `.rbxl(x)` places, or a Rojo `*.project.json`, and code calls `game:GetService(...)`. **When *not* to use:** persisting data across sessions → `roblox-datastores`. Generic Lua questions unrelated to the Roblox API. Engine-agnostic input/save architecture → `input-systems` / `save-systems`. ## Core workflow 1. **Get services with `game:GetService("Name")`.** Common ones: `Players`, `Workspace`, `ReplicatedStorage` (shared client+server), `ServerScriptService` (server-only code), `ServerStorage`, `RunService`, `UserInputService` (client). 2. **Know where code runs.** A `Script` runs on the **server**; a `LocalScript` runs on a **client** (in `StarterPlayerScripts`, `StarterGui`, or the player's character). A `M
- When to use
- Core workflow
- Patterns
- 1. Server Script: react to players joining (leaderstats)
- 2. Create and configure an instance
- 3. Connect an event (and disconnect to avoid leaks)
- 4. Client → server with a RemoteEvent (validate on the server!)
- 5. A per-frame loop with RunService
- 6. Shared code in a ModuleScript
- Pitfalls
- References
- Related skills
What does the roblox-luau skill do?
Script a Roblox experience in Luau: get services, create and parent Instances, connect events, run server Scripts vs client LocalScripts, and communicate across the client/server boundary with RemoteEvents/RemoteFunctions (server-authoritative). Use when building or debugging Roblox Studio scripts — when the user mentions Roblox, Luau, services, RemoteEvent, Instance.new, PlayerAdded, or client vs server. For saving player data use roblox-datastores.
How do I install it?
Run `npx skills add gamedev-skills/awesome-gamedev-agent-skills --skill roblox-luau --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From gamedev-skills/awesome-gamedev-agent-skills, a repository with 406 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
