Spinner

Models · by Brixborg

An arm that a script keeps turning.

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

The script

-- Keeps this arm turning round the spot where it was placed.
local arm = script.Parent
local SPEED = 2   -- turns: bigger is faster, negative goes the other way

local middle = arm.Position
local angle = 0
while true do
  angle = angle + SPEED * wait()
  arm.CFrame = CFrame.new(middle) * CFrame.Angles(0, angle, 0)
end

More models