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

How do I make a script take a model from the library and put in in the workspace?

I wanted to know if there is a way that I can make a script take an object from the roblox library or my published models by its ID and export it into the game's workspace.

1 answer

You can do this through the Insert Service and LoadAsset

An example would be

local InsertService = game:GetService("InsertService")

local asset = 228040778 --A piece of ROBUX, can be anything in your inventory or you can set it to enable Free Models.

local model = InsertService:LoadAsset(asset)
model.Parent = workspace

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