Turntable

Physics · by Brixborg

Swings round 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 "Turntable".

The script

-- A turntable is an anchored part with a RotVelocity: the part stays
-- still, and whatever is on it is swung round.
local top = script.Parent
local SPEED = 1   -- radians per second (6.28 is one whole turn): negative turns the other way

top.RotVelocity = Vector3.new(0, SPEED, 0)

More physics