your90
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 1380 |
|
|
| 07 Sep 2013 12:15 PM |
This doesnt work. Fix?
local clone = game.Workspace.Brick:clone() function onClicked() local m = Instance.new("Message", game.Workspace) m.Text = "Regening Brick..." wait(3) m:remove() game.Workspace.Brick:remove() clone.Parent = game.Workspace end script.Parent.ClickDetector.MouseClick:connect(onClicked) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 07 Sep 2013 12:16 PM |
You should clone:clone().Parent = Game.Workspace |
|
|
| Report Abuse |
|
|
your90
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 1380 |
|
|
| 07 Sep 2013 12:19 PM |
So
local clone = game.Workspace.Brick:clone() function onClicked() local m = Instance.new("Message", game.Workspace) m.Text = "Regening Brick..." wait(3) m:remove() game.Workspace.Brick:remove() clone:clone().Parent = game.Workspace end script.Parent.ClickDetector.MouseClick:connect(onClicked)
???? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 07 Sep 2013 12:20 PM |
| assuming their is a clickdetector in the part and a part named Brick in Workspace |
|
|
| Report Abuse |
|
|
your90
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 1380 |
|
|
| 07 Sep 2013 12:20 PM |
There is a clickdetector and a script and a brick in workspace it still doesnt work :0 |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 07 Sep 2013 12:21 PM |
weird... add a wait(1) at the top of the script |
|
|
| Report Abuse |
|
|