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

InsertService and Plugins

Is there a way to use the InsertService with plugins to insert models by using Plugins?

1 answer

btn.Click:connect(function(Clicked)
	id = # - Replace Number with a model number.
	local model = game:GetService("InsertService"):LoadAsset(assetId)
	if model:IsA("Model") then
	  local tab = game:GetService("InsertService"):Insert(model) 
	end
end)

Find more Here

3 comments

0

:LoadAsset() does not work in offline mode (studio). I want it to work with plugins to protect a model between me and my friend.

0

i see then if you want to do that then instead of a plugin just send it through email just do this Right click Model -> Save As RBXM -> Send to friends email or through skype

0

-_- Guess I am not making the plugin :P

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