A website from the Massachusetts Historical Society; founded 1791.

Fe Hat Orbit Script -

-- Orbit update function local function updateOrbit() local now = os.clock() local dt = now - lastUpdate lastUpdate = now

-- ModuleScript: HatOrbitController local HatOrbitController = {} function HatOrbitController.startOrbit(hatHandle, targetPart, radius, speed, heightOffset) local angle = 0 local connection FE Hat Orbit Script

local y = heightOffset + math.sin(angle * 2) * 0.5 Store hats in a table and assign each a phase offset: -- Orbit update function local function updateOrbit() local

local relativePos = Vector3.new(x, y, z) local newCFrame = head.CFrame + head.CFrame:VectorToWorldSpace(relativePos) FE Hat Orbit Script