Clone (Function)

From Legacy Roblox Wiki
Revision as of 01:53, 18 May 2010 by >GoldenUrg (fix layout)
Jump to navigationJump to search
Clone( )
Returns Instance object
Description: Returns a copy of this Object and all its children. The copy's Parent is nil

Example


while true do
 model = game.Workspace.Model:clone()
 model.Parent = game.Workspace
 wait(300)
end

or


while true do
 game.Workspace.Model:Clone().Parent = game.Workspace
 wait(300)
end

which does the same thing...........