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

Inserting a model VIA script.

I know you use insertservice, but is there a preferably short script I can use to insert a model?

1 comment

0

The InsertService way is a short script

3 answers

✓ Accepted answer
game:GetService("InsertService"):LoadAsset(49393013).Parent = game.Workspace

LoadAsset accepts an assetId as an argument.

1 comment

0

Thanks a lot Merely, short and simple script.

Insert your model to the ServerStorage then add a script to Workspace

Model = game.ServerStorage.Model

A = Model:Clone()
A.Parent = Workspace
A.Position = (Anything).Position

Assuming that the model is somewhere in your game (Lighting) a simple way to insert it is :

model = game:GetService("Lighting").Model -- Replace this variable with the place of the model
place = workspace -- Replace this variable with the place the model should be placed

model:clone().Parent = place

But if its not in game you have to use InsertService...

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