rbx-anim-npc
Skill0 starsChanged 3 months agoMITView on GitHub
Complete NPC animation sets — idle, walk, attack, emote — assembled from catalog animations and custom tracks so every NPC reads alive from spawn to despawn instead of gliding around in a T-pose. Use when the user says "animate the NPC", "give the shopkeeper an idle", "add attack animations", "make it emote", or when NPCs slide without walking, stand frozen, or every NPC in a scene moves in identical lockstep. Do not use for single-track Animator mechanics or uploads — load rbx-anim-rigs — or for the behavior logic deciding WHEN to attack — load rbx-npc-statemachines instead.
In this repository253 other files it gives its agents.
- rbx-abtestSkill
- rbx-accessibilitySkill
- rbx-analytics-eventsSkill
- rbx-analytics-funnelsSkill
- rbx-analytics-readingSkill
- rbx-animationSkill
- rbx-anim-cutscenesSkill
- rbx-anim-proceduralSkill
- rbx-anim-rigsSkill
- rbx-anim-tweenSkill
- rbx-architectureSkill
- rbx-assets-audioSkill
- rbx-assets-id-policySkill
- rbx-assets-sanitizeSkill
- rbx-assetsSkill
- rbx-assets-toolboxSkill
- rbx-assets-webSkill
- rbx-audio-feedback-mapSkill
- rbx-audio-mixingSkill
- rbx-audio-musicSkill
- rbx-audio-sfxSkill
- rbx-audioSkill
- rbx-audio-spatialSkill
- rbx-badges-groupsSkill
- rbx-build-compositionSkill
- rbx-build-detailingSkill
- rbx-build-greyboxSkill
- rbx-buildingSkill
- rbx-build-interiorsSkill
- rbx-build-kitbashSkill
- rbx-build-landscapeSkill
- rbx-build-propsSkill
- rbx-build-scaleSkill
- rbx-build-structuresSkill
- rbx-camera-controllersSkill
- rbx-camera-cutsceneSkill
- rbx-camera-shakeSkill
- rbx-chat-moderationSkill
- rbx-ciSkill
- rbx-combat-abilitiesSkill
- rbx-combat-hitregSkill
- rbx-combat-meleeSkill
- rbx-combat-rangedSkill
- rbx-combatSkill
- rbx-combat-statusSkill
- rbx-complianceSkill
- rbx-comprehendSkill
- rbx-controlsSkill
- rbx-data-crossserverSkill
- rbx-data-profilestoreSkill
- rbx-data-recoverySkill
- rbx-data-schemaSkill
- rbx-data-sessionlockSkill
- rbx-dataSkill
- rbx-design-difficultySkill
- rbx-design-loopSkill
- rbx-design-sheetSkill
- rbx-design-socialSkill
- rbx-economy-currenciesSkill
- rbx-economy-gachaSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 90
Read: asset-library.md for proven animation-set ids tagged by rig type and game style.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
rbx-anim-npc
Laws
- Four states minimum. An NPC ships with idle, walk, attack (or interact), and one flavor emote — anything less reads as a mannequin. Shop NPCs swap attack for a greet/wave; ambient NPCs swap it for a second idle variant.
- Play on the server Animator. Server-owned NPCs load and play tracks on the server so playback replicates to every client for free. Client-side NPC animation is only for purely-local actors (lobby dioramas, cutscene stand-ins).
- Priority does the switching. Idle at
Idle, walk atMovement, attacks and emotes atAction— start the looped idle once at spawn and let priority bury it instead of stopping/starting tracks per state change. - Telegraphs are animation, damage is server math. The attack animation's windup IS the
dodge window (
rbx-npc-combatowns the timing doctrine); the damage lands from server-side hit logic at the marker time — never from any client's report of what it saw. - Desynchronize the crowd. Identical NPCs start idles at random offsets
(
track.TimePosition = math.random() * track.Length) and ±10%AdjustSpeedjitter. A row of guards breathing in unison is a top-three scene tell.
Passes
- Rig intake — R15/R6 catalog rig or custom creature decided; inserted rigs and
animation packs pass the modelscan gate (Sourcing) before their scripts run;
inspect_instanceconfirms Motor6Ds + Animator. - Set assembly — pick the four-plus tracks: Roblox catalog animation ids for humanoid
staples (verified this session, never from memory), custom tracks via
rbx-anim-rigswhere the catalog has nothing (creature attacks, bespoke emotes →0 -- TODO+rbx-handoff-uploads). - Load & ladder — preload all tracks at NPC spawn on the server Animator, priorities
per law 3, walk track speed slaved to
Humanoid.WalkSpeed / authored speedso feet never skate. - Hook the state machine —
rbx-npc-statemachinesstates call oneAnimSet:play(name)API; the set module owns fades (0.2s in / 0.3s out) so states never touch tracks directly. - Markers & sound — footsteps, swing whooshes, and impact stings from
GetMarkerReachedSignalwith ±10%PlaybackSpeedvariation per fire; silence on a moving NPC is an AI-tell. - Verify —
start_stop_play, walk the test character past the NPCs viacharacter_navigation, watch for skating feet, T-poses, and lockstep idles; readget_console_outputfor failed loads.
Sourcing
Tiers per asset-id-policy.md: asset-library.md first
(pcall re-verified), then Roblox catalog animations for humanoid rigs verified in-session,
then search_asset → insert_asset for Creator Store rigs and packs. Every Creator Store
insert passes rbx-security-modelscan before any script runs. Custom tracks that need
publishing queue through rbx-handoff-uploads while the set ships with 0 -- TODO ids.
Performance budget
One server Animator per NPC, tracks preloaded at spawn, destroyed at despawn. Past ~15
simultaneous animated NPCs, stagger non-visible updates and drop emote variety per
rbx-npc-crowds — animation replication is cheap, but the AI driving it is not. Never run
per-NPC RenderStepped work on clients for idles the Animator already handles.
Load with
rbx-npc-statemachines — the states this set animates; don't ask, include it on any NPC
with behavior. rbx-anim-rigs for track mechanics and uploads, rbx-security-modelscan on
every insert, rbx-audio-sfx for footsteps and swing sounds. Combat NPCs add
rbx-npc-combat for telegraph timing doctrine.
AI-tells
- ☐ NPC slides across the ground with no walk track, or feet skate against WalkSpeed
- ☐ T-pose on spawn — set assembled but never preloaded or rig chain broken
- ☐ Identical NPCs idling in perfect lockstep, zero offset or speed jitter
- ☐ States stopping/starting every track manually instead of the priority ladder
- ☐ Attack damage applied from the animation's client-visible frame, unvalidated
- ☐ Animation ids recalled from memory instead of verified this session
- ☐ Fully silent NPCs — no footsteps, no vocal/effort sounds at markers
Memory
Read: asset-library.md for proven animation-set ids tagged by rig type and game style; the
game's projects.md block for NPC folder conventions and existing AnimSet modules. Write:
every verified id that ships into asset-library.md (tagged idle/walk/attack/emote + rig);
the AnimSet module into module-library.md; pending custom-track uploads into the game's
projects.md manual steps pending: list.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

