marfit
|
  |
| Joined: 10 Jan 2013 |
| Total Posts: 2539 |
|
|
| 28 Aug 2016 12:22 PM |
| ################################################################################################################################################################################################################################################################################################################################################################################################################################################################################ |
|
|
| Report Abuse |
|
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
| |
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 28 Aug 2016 12:23 PM |
Model:SetPrimaryPartCFrame()
|
|
|
| Report Abuse |
|
|
marfit
|
  |
| Joined: 10 Jan 2013 |
| Total Posts: 2539 |
|
|
| 28 Aug 2016 12:32 PM |
while true do script.Parent:MoveTo(script.Parent.PrimaryPart.Position + Vector3.new(0,0,4)) wait() script.Parent:SetPrimaryPartCFrame(Vector3.new(script.Parent.PrimaryPart.Position.X,-6.97,script.Parent.PrimaryPart.Position.Z)) wait(0.01) end
This is my fix code, but when I run it, the model fails to move. |
|
|
| Report Abuse |
|
|
|
| 28 Aug 2016 12:33 PM |
| youre setting the cframe to a vector3.. -.- |
|
|
| Report Abuse |
|
|
marfit
|
  |
| Joined: 10 Jan 2013 |
| Total Posts: 2539 |
|
|
| 28 Aug 2016 04:32 PM |
| That does not help, what should I do? |
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 28 Aug 2016 04:34 PM |
part = script.Parent.PrimaryPart while wait() do script.Parent:SetPrimaryPartCFrame(part.CFrame.X,part.CFrame.Y-7,part.CFrame.Z) end
|
|
|
| Report Abuse |
|
|