-- Turns off body orientation. Developer-facing.

function BodyOrientation.disable()
	if not enabled then
		return
	end

	playerAddedConnection:Disconnect()
	playerRemovingConnection:Disconnect()
	for _, player in ipairs(Players:GetChildren()) do
		onPlayerRemoving(player)
	end

	enabled = false
end

return BodyOrientation
