I was wondering, if there is a possible way to insert a model from the site with a script? Like, you can insert a brick with a script.
For this you need to use InsertService
with the LoadAsset
function. The LoadAsset function takes one argument, which should be the mode ID that you want to insert.
The model being inserted has to be owned by either of the two;
--First, load the model. local model = game:GetService('InsertService'):LoadAsset(247458463) --Now, since the model is nil at this point, parent it. model.Parent = workspace
NOTE: The model inserted will be inside of a model object upon insert. So say you insert a script and use the method above, you have to index 'model' for the script