|
| 07 May 2013 07:09 PM |
what wrong with it ?
tween=game.workspace.part2 x,y,z=game.workspace.Parent.Position x= workspace.part2.Position(x,y,z)
while true do tween.Anchored=true wait(.1) tween.Anchored=false wait(3) tween.Anchored=true wait(3) workspace.part2.Position=Vector3.new(x) print("1 down") wait(7) tween.Anchored=true wait(.1) tween.Anchored=false wait(3) tween.Anchored=true wait(3) workspace.part2.Position=Vector3.new(x) print ("2 down") end
|
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 07 May 2013 07:14 PM |
| The issue with it is that you don't know how to use vectors. |
|
|
| Report Abuse |
|
|
Flash77
|
  |
| Joined: 14 Jun 2008 |
| Total Posts: 550 |
|
|
| 07 May 2013 07:14 PM |
this cant happen: x,y,z=game.workspace.Parent.Position x= workspace.part2.Position(x,y,z)
try:
x,y,z=game.workspace.Parent.Position.X,game.workspace.Parent.Position.Y,game.workspace.Parent.Position.Z x2= workspace.part2.Position(x,y,z) |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 07 May 2013 07:15 PM |
| Flash, you can't call a position. |
|
|
| Report Abuse |
|
|
|
| 07 May 2013 07:15 PM |
| Well i'm sorry that i'm new i started scripting yesterday. |
|
|
| Report Abuse |
|
|
|
| 07 May 2013 07:17 PM |
| And i know how to use vector but im trying to make X = the parts position. |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 07 May 2013 07:17 PM |
x = workspace.part2.Position
|
|
|
| Report Abuse |
|
|