npc-ai
Installation
SKILL.md
Roblox NPC & AI Systems
When implementing AI systems, use these Roblox-specific patterns for performant and intelligent NPCs.
NPC Creation (CRITICAL: Use Modern Patterns)
NEVER build NPCs by manually creating Parts. Use HumanoidDescription + CreateHumanoidModelFromDescriptionAsync.
Creating NPCs with HumanoidDescription
local Players = game:GetService("Players")
-- Create a basic NPC
local function createNPC(config)
local description = Instance.new("HumanoidDescription")