|
| 10 Mar 2012 02:34 PM |
I have this duplication script, but it has a few problems. The first is that it seems to work too fast, even though it's supposed to be delayed. The second is that roblox has a problem with putting two bricks in the exact same place, so I need one or two lines concerning cframing(It's anchored) so that the clone is overlaping the brick. Any help is apreciated! Heres the script:
while true do wait(.1) local cl = script.Parent:clone() cl.Parent = game.Workspace cl.Position = script.Parent.Position wait(0.1) end |
|
|
| Report Abuse |
|
|
|
| 10 Mar 2012 02:37 PM |
while wait(0.25) do script.Parent:clone().Parent = game.Workspace wait(0.25) end |
|
|
| Report Abuse |
|
|
kools
|
  |
| Joined: 11 Jan 2009 |
| Total Posts: 1659 |
|
|
| 10 Mar 2012 02:38 PM |
while true do local cl = script.Parent:clone() wait(.1) cl.Parent = game.Workspace cl.CFrame = CFrame.new(cl.Position.X,cl.Position.Y,cl.Position.Z) wait(0.1) end |
|
|
| Report Abuse |
|
|
| |
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 10 Mar 2012 02:39 PM |
| You should use MakeJoints when cloning. |
|
|
| Report Abuse |
|
|
| |
|
|
| 10 Mar 2012 03:07 PM |
| k, that worked, but now a new problem has arisen. see, the brick this script is in has a cframe script, so it is rotating, and the copies aren't oriented in the same direction as the original brick at the time of the copying. How would I fix that? |
|
|
| Report Abuse |
|
|
|
| 10 Mar 2012 04:20 PM |
| @flappy - No offense, but I think he realized. :P |
|
|
| Report Abuse |
|
|
|
| 10 Mar 2012 04:27 PM |
| Electric, just making sure. XD |
|
|
| Report Abuse |
|
|