Conveyor belt

Physics · by Brixborg

Carries along whatever is put on it. Its script sets the speed.

Use it in your games: in the studio, open View > Archive, go to the Physics shelf and pick "Conveyor belt".

The script

-- A conveyor belt is an anchored part with a Velocity: the part stays
-- where it is, and whatever is on it is carried along.
local belt = script.Parent
local SPEED = 8   -- studs per second: try 20, or -8 to run it backwards

-- (lookVector is the way the part's front faces, so the belt still runs
-- along its length if you turn it round.)
belt.Velocity = belt.CFrame.lookVector * SPEED

More physics