|
| 25 Aug 2011 08:42 PM |
Please. ---created by harryvince2000 while true do
p = game.Workspace.Wedge3
for i = 1, 30, 1 do p.CFrame = p.CFrame+Vector3.new(i, 0, 0) wait(0.5)
end p.Position = Vector3.new(-240, 8.2, 0.5) end
|
|
|
| Report Abuse |
|
|
earth100
|
  |
| Joined: 13 Dec 2007 |
| Total Posts: 2088 |
|
|
| 25 Aug 2011 08:46 PM |
You increase distance by i.
As the for loop continues, the i value will increase from 1, to 2 making the distance that the part moves increase accordingly
Change i to 1
Also instead of
p.Position = Vector3.new(#,#,#)
I suggest putting this at the start of the code startCF = p.CFrame
and replacing p.Position = Vect.... with p.CFrame = startCF |
|
|
| Report Abuse |
|
|
| |
|