roblox-characters-animation
Installation
SKILL.md
Characters and animation
Character basics
- A player character is a
Modelwith aHumanoid,HumanoidRootPart(the root; move the character withcharacter:PivotTo(cframe)), R15 body parts, and anAnimateLocalScript. - Defaults (walk speed, jump, health, R6/R15, collisions, body scaling) are configured in Studio's
Avatar Settings window and
StarterPlayer(CharacterWalkSpeed,CharacterJumpHeightorCharacterUseJumpPower+CharacterJumpPower). - Custom character: put a
ModelnamedStarterCharacterinStarterPlayer. Custom per-player spawns:Players.CharacterAutoLoads = false, thenplayer:LoadCharacterAsync()when ready (e.g. after data loads).LoadCharacter(non-Async) is deprecated. - Characters are destroyed and recreated on death/respawn: bind per-character logic in
CharacterAdded. - Client-set
WalkSpeed/JumpHeightare trivially exploitable; enforce limits on the server or use server authority (roblox-security,roblox-physics).