upbeat0
|
  |
| Joined: 21 Dec 2010 |
| Total Posts: 235 |
|
|
| 21 Dec 2013 05:52 PM |
I cant get this to work. I've been looking at it over and over but there's no visible errors. please help D:
if script.Parent.Data.Position (-70.5, 191.799, 456.1) then script.Parent:remove() end |
|
|
| Report Abuse |
|
|
|
| 21 Dec 2013 05:53 PM |
If "Data" is a brick then use this:
if script.Parent.Data.Position=Vector3.new(-70.5, 191.799, 456.1) then script.Parent:remove() end
if "Data" is a model then use this:
if script.Parent.Data.Position:MoveTo(-70.5, 191.799, 456.1) then script.Parent:remove() end |
|
|
| Report Abuse |
|
|
wazap
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 23234 |
|
|
| 21 Dec 2013 06:14 PM |
If its a model
script.Parent.Data:MoveTo(Vector3.new(x,y,z)) pretty sure you still need the Vector3 |
|
|
| Report Abuse |
|
|
|
| 21 Dec 2013 06:14 PM |
| idk, I dont usually move models, Ive done it once. |
|
|
| Report Abuse |
|
|