Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do i use insert service?

Asked by 8 years ago

I want to import custom models so that they will always be updated.. Im on my phone right now so i cant really give an example of the code ive used... I know you have to use GetService and all that i just dont know how to load the model into the game

2 answers

Log in to vote
0
Answered by
shayner32 478 Trusted Moderation Voter
8 years ago

A good place to look for information regarding this is http://wiki.roblox.com/index.php?title=API:Class/InsertService/LoadAsset. There are some examples on there that you can use. Just make sure that you, the owner of the game, owns the model you're trying to insert.

Ad
Log in to vote
0
Answered by 8 years ago

I tend to use InsertService a lot when I'm wanting to goof around with Gear's code so I typically just do a code like this in the command bar:

local Insert = game:GetService'InsertService':LoadAsset()
Insert.Parent = game.Workspace

Shayner32 has given you the Wiki Link to InsertService and in fact LoadAsset, so I shouldn't have to give the link as well! Best of luck!

Answer this question