Giant cog

Models · by Brixborg

A brass cog thirty studs across, lying flat and slowly turning: ride it, or get shoved round by it. Has a script inside.

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

The script

-- THE COG: turns this part round its own axis (its X direction), at the
-- speed in its "Spin" value (radians a second; minus = the other way). It
-- is anchored, so nothing stops it: whatever stands on it is carried
-- round, and whatever gets in the way is shoved. (A Script inside it.)
local cog = script.Parent
local spin = cog:WaitForChild("Spin")
game:GetService("RunService").Heartbeat:connect(function(seconds)
  cog.CFrame = cog.CFrame * CFrame.Angles(spin.Value * seconds, 0, 0)
end)

More models