Load Catalog Items, And Models

Learn how to load catalog items and models with insertservice!

by Itsyourdriver

Author Avatar

How To Load Catalog Items, And Models!

This service allows you to load catalog items, like hats, hair, body parts, get free models, to display and get decals to display!

DeveloperHub Link: https://developer.roblox.com/en-us/api-reference/class/InsertService

To start, here is the function we'll be using.


This will allow you to insert models, and items from the catalog (not entire animation packages.) First, we'll start with some varibles.

local assetId = 5505308530 -- just a template id, replace this with your id you want to load
local InsertService = game:GetService("InsertService")

Next, we'll load our id with insertservice.

local Item = InsertService:LoadAsset(assetId) -- load the item via the assetId

Now that we have our item, we'll parent it to workspace, or if you are implementing this into code, you could parent this into a character.

Item.Parent = workspace -- partent it to workspace

Code Roundup

local assetId = 5505308530 -- our asset id
local InsertService = game:GetService("InsertService") -- get insertservice
local Item = InsertService:LoadAsset(assetId) -- load the asset via the id
Item.Parent = workspace -- parent our new id to workspazce

This can be used for so many things, like character customization, and hat givers!

View in-game to comment, award, and more!