----- RUN MERRY-GO-ROUND -----


while wait() do
	if #occupants > 0 then
		velocity.AngularVelocity = velocity.AngularVelocity + Vector3.new(0, 0.2, 0) -- speeding up
		wait(0.1)
		for i = 1, #occupants do -- finding occupants to possibly fling :P
			if occupants[i] then
				local randNum = 1
				if math.ceil(occupants[i].HumanoidRootPart.Velocity.Magnitude) > 1 then
					randNum = math.random(1, math.ceil(occupants[i].HumanoidRootPart.Velocity.Magnitude))
				end
				if randNum >= 40 then
					flingPlayer(occupants[i])
					table.remove(occupants, i)
				end
			end
		end
	elseif velocity.AngularVelocity.Y > 0 then -- slowing down
		velocity.AngularVelocity = velocity.AngularVelocity - Vector3.new(0, math.min(0.3, velocity.AngularVelocity.Y), 0)
	end
end
