/roblox-skills:roblox-characters-animationfrom roblox-skills
Provides Roblox character and animation APIs: Humanoid properties/states, spawning (LoadCharacterAsync), health/damage, HumanoidDescription, Animator/AnimationTrack playback, TweenService, IKControl, and Character Controller Library.
Ships in roblox-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Model with a Humanoid, HumanoidRootPart (the root; move the character
with character:PivotTo(cframe)), R15 body parts, and an Animate LocalScript.StarterPlayer (CharacterWalkSpeed, CharacterJumpHeight or
CharacterUseJumpPower + CharacterJumpPower).Model named StarterCharacter in StarterPlayer. Custom per-player
spawns: Players.CharacterAutoLoads = false, then player:LoadCharacterAsync() when ready
(e.g. after data loads). LoadCharacter (non-Async) is deprecated.CharacterAdded.Workspace.PlayerCharacterDestroyBehavior is on by default since Nov 11, 2026: the old character is
destroyed right after CharacterRemoving handlers run, and the Player 5 s after PlayerRemoving.
Read what you need (leaderstats, attributes, UserId) before yielding in those handlers. Disabled
is a temporary opt-out that is removed at the end of February 2027.WalkSpeed/JumpHeight are trivially exploitable; enforce limits on the server or use
server authority (roblox-security, roblox-physics).--!strict
local Players = game:GetService("Players")
local function damage(target: Model, amount: number, source: Player?)
local humanoid = target:FindFirstChildOfClass("Humanoid")
if not humanoid or humanoid.Health <= 0 then
return
end
humanoid:SetAttribute("LastDamagedBy", if source then source.UserId else 0)
humanoid:TakeDamage(amount) -- respects ForceField; use Health -= amount to bypass
end
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local humanoid = character:WaitForChild("Humanoid") :: Humanoid
humanoid.MaxHealth = 150
humanoid.Health = 150
humanoid.Died:Once(function()
local killerId = humanoid:GetAttribute("LastDamagedBy")
print(`{player.Name} died (killer {killerId})`)
end)
end)
end)
return damage
Health script via StarterCharacterScripts.Humanoid.BreakJointsOnDeath = false + ragdoll constraints for ragdolls.humanoid:ChangeState(Enum.HumanoidStateType.Jumping), SetStateEnabled(state, false),
StateChanged. MoveDirection, FloorMaterial, RootPart, SeatPart are read-only helpers.humanoid:MoveTo(position) walks NPCs (times out after 8 s; re-issue for long paths — see roblox-npc-ai).--!strict
local Players = game:GetService("Players")
local function applyUniform(player: Player)
local character = player.Character
local humanoid = character and character:FindFirstChildOfClass("Humanoid")
if not humanoid then
return
end
local ok, description = pcall(function()
return Players:GetHumanoidDescriptionFromUserIdAsync(player.UserId)
end)
if not ok then
return
end
description.Shirt = 123456 -- asset ids
description.Pants = 654321
description.HeightScale = 1.05
pcall(function()
humanoid:ApplyDescriptionAsync(description) -- server-side; replicates
end)
end
return applyUniform
Player:LoadCharacterWithHumanoidDescriptionAsync(description) spawns directly with an outfit.
All the non-Async variants (ApplyDescription, GetHumanoidDescriptionFromUserId, ...) are deprecated.
--!strict
local function playAttack(character: Model, animation: Animation): AnimationTrack?
local humanoid = character:FindFirstChildOfClass("Humanoid")
local animator = humanoid and humanoid:FindFirstChildOfClass("Animator")
if not animator then
return nil
end
local track = animator:LoadAnimation(animation) -- Humanoid:LoadAnimation is deprecated
track.Priority = Enum.AnimationPriority.Action
track.Looped = false
track:GetMarkerReachedSignal("Hit"):Connect(function(param)
print("hit frame reached", param) -- apply damage window, play sound, etc.
end)
track:Play(0.1) -- fade time
return track
end
return playAttack
Animation once per Animator and reuse the track; don't call LoadAnimation every time an
action happens (there's a per-Animator track limit). Exception: server authority (query live tracks).Core < Idle < Movement < Action < Action2 < Action3 < Action4. Blend with AdjustWeight,
change speed with AdjustSpeed, stop with Stop(fadeTime).track.Stopped, track.Ended, markers via GetMarkerReachedSignal (KeyframeReached is superseded).Animate script's StringValue/Animation children
(animate.run.RunAnim.AnimationId) on CharacterAdded, or ship a custom Animate in
StarterCharacterScripts.IKControl (look-at, foot planting, reaching) instead of hand-written joint math.track:SetParameter(name, value). State Machine nodes (fully released Nov 2026, live games and server
authority) track the current state and allowed transitions (Wait For an expression or Finished; (Any) state
for interrupts like holstering), so combos and locomotion need no state-tracking script. Expression nodes
hold one line of Luau math (math.*, comparisons, if expressions; no loops, tables, calls, or DataModel).--!strict
local TweenService = game:GetService("TweenService")
local door = Instance.new("Part")
door.Anchored = true
door.Parent = workspace
local info = TweenInfo.new(0.6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
local open = TweenService:Create(door, info, { CFrame = door.CFrame * CFrame.new(0, 8, 0) })
open.Completed:Once(function(state)
print("door tween finished:", state)
end)
open:Play()
CFrameValue and call model:PivotTo(value) in its Changed handler, or tween the
primary part with the rest welded to it.TweenService:GetValue(alpha, style, direction) for custom interpolation; SmoothDamp for follow motion.Tool in StarterPack/Backpack with a Handle part (or RequiresHandle = false). Equipped,
Unequipped, Activated fire on both client and server (Activated comes from the client: validate
rate and state on the server). Keep weapon logic in modules and use tags rather than scripts inside
every tool clone.
Roblox's CCL (require("@rbx/AvatarAbilities")) replaces the fixed Humanoid state machine with
composable abilities (Running, Jumping, Climbing, custom Dash...) coordinated by labels, sensors,
conditions (StartsWhen/RunsWhile with All/Any/Not), conflicts (Blocks/Stops/Suspends),
and lifecycle callbacks. Enable it via File → Beta Features and Avatar Settings → Movement →
Abilities. Only use it when the project has opted in; APIs may change while in beta.
Sketch: references/character-controller-library.md.
roblox-npc-ai (NPC movement), roblox-physics (ragdolls, knockback), roblox-input (ability inputs),
roblox-security (movement/damage validation), roblox-game-systems (combat).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub el4cteo/roblox-skills --plugin roblox-skills23 skills in this plugin
/roblox-analytics-liveopsAnalytics and live ops - AnalyticsService economy/funnel/onboarding/progression/custom events, player segments, experience configs via ConfigService, A/B experiments, badges, experience notifications, timed events, daily rewards, season passes. Use when instrumenting a game, tuning economy or onboarding, running A/B tests or feature flags, or planning live events and re-engagement./roblox-architectureRoblox project structure and client/server model - replication, where code and assets belong (ServerScriptService, ReplicatedStorage, StarterPlayer), RunContext, service/controller bootstrapping, player/character lifecycle, CollectionService components, attributes, streaming-safe client code, library choices. Use when starting a project, deciding where code goes, or fixing replication/streaming bugs./roblox-Other plugins' skills for the same job