How to make a conveyor belt in roblox studio

I can’t make YT vids as my computer won’t let me :sob: so I will give you guys the script, feel free to test it out yourself.

local speed = 10 – Change the speed to whatever you’d like :slight_smile:
while true do
script.Parent.Velocity = script.Parent.CFrame.LookVector * speed
wait()
end

Let me know what else I should show you guys!
:slight_smile:

2 Likes

Useful!

Is their a way to not use the while true do loop?

They’re not very efficient.

1 Like

repeat
—CODE
until nil
??? Maybe?

It’s still a loop. Soo.

1 Like

May use it. :slight_smile: thanks!

1 Like

Contact me if needing help

Couldn’t you just do?

script.Parent.Velocity = script.Parent.CFrame.LookVector * speed
1 Like

Loops = Memory Loss = lAg

1 Like

Isn’t only going to run 1 time?

No? According to roblox physics
The velocity will always be acting.

1 Like

Hm, I’ll keeep that in mind

Try it out in studio?

1 Like

Busy at the moment but will try it!

1 Like