agentleFS
AshExplainedAshExplained/roblox-skills/roblox-combat-systems/SKILL.md

roblox-combat-systems

Skill5 starsChanged 5 months agoMITView on GitHub

Design, implement, and review Roblox combat systems. Use for melee, ranged, abilities, cooldowns, hit detection, damage validation, status effects, enemy AI hooks, combat UI, balance knobs, VFX/SFX, and exploit-resistant remotes.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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
  1. Distinctive:

    Never let the client decide final hit, damage, reward, kill credit, or loot.

    line 16
  2. Distinctive:

    Use deterministic balance tables shared or mirrored carefully.

    line 18
  3. Very specific:

    Read attack, damage, enemy, and reward scripts with script_read.

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Roblox Combat Systems

Goal

Make combat readable, responsive, and server-authoritative.

Authority

  • Let the client request intent, animation, aim direction, or target candidate.
  • Let the server validate range, cooldown, line of sight, team, state, and damage.
  • Never let the client decide final hit, damage, reward, kill credit, or loot.
  • Rate-limit combat remotes.
  • Use deterministic balance tables shared or mirrored carefully.

Combat Loop

Design:

  • Anticipation, action, impact, recovery.
  • Clear cooldowns and ability availability.
  • Strong feedback for hit, miss, crit, block, dodge, and death.
  • Enemy tells and fair counterplay.
  • Early encounters that teach through safe repetition.

Implementation Areas

  • Hitboxes and raycasts.
  • Cooldown and stamina/energy systems.
  • Damage types and modifiers.
  • Status effects with duration, stacking, and cleanup.
  • Enemy AI target selection and leash rules.
  • Reward grants tied to server-confirmed contribution.

MCP Workflow

  1. Locate combat scripts with script_search and script_grep.
  2. Read attack, damage, enemy, and reward scripts with script_read.
  3. Inspect remotes and combat instances with search_game_tree and inspect_instance.
  4. Edit with multi_edit.
  5. Playtest attacks using start_stop_play, user_keyboard_input, user_mouse_input, and screen_capture.
  6. Check get_console_output.

Output

Return:

  • Combat state flow.
  • Server validations.
  • Balance knobs.
  • Feedback hooks.
  • Exploit and regression tests.

Next

Validate every combat remote and damage path with roblox-security-economy, add impact with roblox-animation-audio-feedback, and verify with roblox-playtest-qa and roblox-mobile-playtest.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.