Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is there a way to use Instance.new with library items?

Hello! I'm trying to find a way to use Instance.new with library items? Is there a way to do this? All help is appreciated!

1 answer

Kinda...

You can insert models but not by using Instance.new(). You need to use InsertService. I recommend you read up on it here.

The example used by Roblox is below.

local assetId = 257489726
local InsertService = game:GetService("InsertService")
local model = InsertService:LoadAsset(assetId)
model.Parent = workpsace

Considering accepting this answer if it helps you! :)

This discussion is preserved as it was. New answers, comments, and votes are closed.