Clone (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Travisdep
mNo edit summary
>Mr Doom Bringer
m Reverted edit of Travisdep, changed back to last version by Mr Doom Bringer
Line 16: Line 16:
  wait(300)
  wait(300)
end</pre>
end</pre>
==or==
<pre>
while true do
mgame.Workspace.Model:Clone().Parent = game.Workspace
wait(300)
end</pre>
which does the same thing...........

Revision as of 17:00, 29 January 2008

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