Insert (Method)

From Legacy Roblox Wiki
Revision as of 14:05, 30 August 2010 by >Camoy (added)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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