Generate Accessory from Asset ID

I’m trying to generate an accessory using a script to put onto an NPC and I don’t know how. Taking a look at the the wiki lead me nowhere, so if anyone knows how, a point in the right direction would be nice.

1 Like

Insert it using InsertService and grab the child instance of the returned model. Server only.

local InsertService = game:GetService("InsertService")

local accessory = InsertService:LoadAsset(accessoryId):GetChildren()[1]
8 Likes