Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Roblox character scripts

Fixes Roblox character scripts that break on respawn, stuck animations and sprint code fighting the Humanoid.

Claude's review

8/10 Strong Roblox character lifecycle pattern with generation guards, animation cleanup and a gotcha table.

We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.

In detail

Roblox player characters: CharacterAdded lifecycle, Humanoid and HumanoidRootPart, R6, R15 and custom rigs, respawn and Tools. Use when a character script breaks after respawn, animations do not play or replicate, or sprint code fights the Humanoid. Not for hit validation (`roblox-networking`), forces and raycasts (`roblox-physics`) or cameras (`camera-systems`).

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: roblox-characters
description: >
  Roblox player characters: CharacterAdded lifecycle, Humanoid and HumanoidRootPart, R6, R15 and
  custom rigs, respawn and Tools. Use when a character script breaks after respawn, animations do
  not play or replicate, or sprint code fights the Humanoid. Not for hit validation
  (`roblox-networking`), forces and raycasts (`roblox-physics`) or cameras (`camera-systems`).
---

# Roblox characters

A `Player` is the durable identity; each `Character` is a replaceable session with its own
references, connections, animation tracks, and cleanup. Most character bugs are one character's
state leaking into the next.

## Workflow

1. **Read the character contract.** Avatar Settings (rig type, movement system), `StarterCharacter`,
   `StarterCharacterScripts`, `Players.CharacterAutoLoads`, `Workspace.PlayerCharacterDestroyBehavior`,
   the existing Animate or controller scripts, tools, tags, and collision groups. Extend what is
   there; do not add a second controller.
2. **Separate scopes.** Player-scope state survives respawn; character-scope state does not. Put
   each character's connections, tracks, and temporary instances in one cleanup scope.
3. **Bind existing and future characters.** Connect `CharacterAdded`, then bind `player.Character`
   if it already exists. On the server, do this for players already in `Players:GetPlayers()`.
4. **Resolve parts defensively.** `WaitForChild` with a timeout for `Humanoid`, the root part, and
   `Animator`; after every yield, check the character is still the current one before acting.
5. **Choose one movement owner per state.** Standard avatars use Humanoid movement or the
   Character Controller Library. Physical mechanics (dash, knockback, grapple) use an impulse or a
   constraint for their duration and hand control back cleanly.
6. **Own animation lifecycle.** Load through the rig's `Animator`, keep tracks and marker
   connections in the character scope, and stop them on cleanup. Markers drive presentation; any
   gameplay effect they trigger is validated on the server.
7. **Run the lifecycle check.** With the Studio MCP server connected, start play, respawn the
   player several times from `execute_luau` on the `Server` datamodel
   (`for _ = 1, 5 do player:LoadCharacterAsync() task.wait(1) end`), then read
   `get_console_output`: expect no errors and exactly one setup log per spawn. Without MCP, ask the
   user to reset five times in Test and once with two players in Server & Clients, and to report
   duplicated logs, stuck animations, or errors.

...

From gamedev-skills's repository, Apache-2.0 licence.

Related skills

  • Checked

    Godot game optimisation

    Profiles a Godot game and fixes common slowdowns in draw calls, physics and memory so it runs more smoothly.

    by jame581 1k
    7/101 credit
  • Checked

    Game Audio Mixing

    Sets up game audio buses, volume sliders, music ducking and adaptive music for Godot, Unity or FMOD.

    by gamedev-skills 13k
    8/101 credit
  • Checked

    Game camera tuning

    Builds and tunes follow, orbit and first person game cameras in Godot or Cinemachine so they stop jittering.

    by gamedev-skills 13k
    8/101 credit
  • Checked

    Game Enemy AI

    Designs enemy AI with perception, pathfinding and steering so enemies chase fairly and never get stuck.

    by gamedev-skills 13k
    8/101 credit
  • Checked

    Game Loop and Timing

    Makes movement, timers and physics behave the same at any frame rate in Unity, Godot, Bevy and web games.

    by makifbaysal 123
    7/101 credit
  • Checked

    Blender asset optimisation

    Cuts Blender assets down to each platform's budget with LODs, decimation and texture atlases before export.

    by EL4CTEO 3.8k
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added