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!
COMMUNITY QUESTION
Is there a way to use Instance.new with library items?
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.
