shrimpoop
|
  |
| Joined: 28 Sep 2008 |
| Total Posts: 1307 |
|
|
| 28 Oct 2011 10:36 PM |
function onButton1Down(mouse) local Object1 = game.Lighting.Object:clone() Object1:MoveTo(sentryghost.Position) objectghost:remove -- random part don't worry Object.Parent = game.Workspace --this is where output specifies problem script.Parent:remove() end
I would appreciate help.
This is a local script if that makes a difference :l |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 28 Oct 2011 10:38 PM |
| Object one must be in workspace to move I believe. |
|
|
| Report Abuse |
|
|
|
| 28 Oct 2011 10:40 PM |
The line
"objectghost:remove -- random part don't worry"
should be changed to
"objectghost:remove() -- random part don't worry" |
|
|
| Report Abuse |
|
|
Ganondude
|
  |
| Joined: 22 Jun 2007 |
| Total Posts: 1175 |
|
|
| 28 Oct 2011 10:40 PM |
| Typo: "Object" should be "Object1". |
|
|
| Report Abuse |
|
|
shrimpoop
|
  |
| Joined: 28 Sep 2008 |
| Total Posts: 1307 |
|
|
| 28 Oct 2011 10:43 PM |
Fixed :l
Thank you necro, I completely overlooked that. |
|
|
| Report Abuse |
|
|