Problem with AssemblyLinearVelocity

Hello
I am trying to make a conveyor belt, which can start and stop
I created 1 longer part - Conveyor , anchored it and 1 small part on top of it.

I have created the following script:

workspace.Conveyor.AssemblyLinearVelocity  = workspace.Conveyor.CFrame.lookVector * 5
task.wait(10)
workspace.Conveyor.AssemblyLinearVelocity  = workspace.Conveyor.CFrame.lookVector * 0
task.wait(10)
workspace.Conveyor.AssemblyLinearVelocity  = workspace.Conveyor.CFrame.lookVector * 5

The red part starts moving - ok
after 10 seconds it stops - ok
However after 10 more seconds it does not start to move again, although I see that the Conveyor.AssemblyLinearVelocity is set with the correct value…

What can be the reason for this?

Thanks in advance

Hello, I already tried the same test, and I also had the same error. If you move the red part up before the last 10 seconds (when the ‘conveyor’ part gets speed again) the other part will move.
When the red part touches the ‘conveyor’ part, the red part also gets linear velocity; probably you need to raise the red part and drop it to continue its way.

Thank you.
I put workspace.Part:ApplyImpulse(Vector3.new(0,0.1,0)) at the end of the script and now it works

1 Like