Insert (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
fixed
>Camoy
fixed
(No difference)

Revision as of 16:01, 30 August 2010

Insert( Model model )
Returns nil
Description: Inserts model into Workspace (Same as model.Parent = game.Workspace).
Member of: [[RBX.lua.InsertService (Object)|InsertService]]
Example
local model = game:GetService("InsertService"):LoadAsset(assetId)
if(model:IsA("Model")) then
  local tab = game:GetService("InsertService"):Insert(model) 
end


See Also