function SpringUtils.toLinearIfNeeded(e)if typeof(e)=="\067\111\108\111\114\051"then return LinearValue.new(Color3.new,{e.r,e.g;e.b})elseif typeof(e)=="\085\068\105\109\050"then return LinearValue.new(UDim2.new,{e.x.scale,e.x.offset,e.y.scale,e.y.offset})elseif typeof(e)=="\085\068\105\109"then return LinearValue.new(UDim.new,{e.scale,e.offset})else return e end end

function SpringUtils.toLinearIfNeeded(value)
	if typeof(value) == "Color3" then
		return LinearValue.new(Color3.new, {value.r, value.g, value.b})
	elseif typeof(value) == "UDim2" then
		return LinearValue.new(UDim2.new, {value.x.scale, value.x.offset, value.y.scale, value.y.offset})
	elseif typeof(value) == "UDim" then
		return LinearValue.new(UDim.new, {value.scale, value.offset})
	else
		return value
	end
end
