Clone (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer
No edit summary
>Camoy
Redirecting to Clone (Method)
 
(21 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<onlyinclude>
#REDIRECT [[Clone_(Method)]]
{{Function|
name                  = Clone
|arguments            =
|returns              = [[Instance]] object
|description          = Returns a copy of this Object and all its children. The copy's Parent is nil
|object              = Global
|}}
</onlyinclude>
 
==Example==
<pre>
 
while true do
model = game.Workspace.Model:clone()
model.Parent = game.Workspace
wait(300)
end</pre>
==or==
<pre>
 
while true do
mgame.Workspace.Model:Clone().Parent = game.Workspace
wait(300)
end</pre>
 
which does the same thing...........

Latest revision as of 21:54, 27 December 2010

Redirect to: