function ValueBaseUtils.getValue(Z,q,C,A)assert(typeof(Z)=="\073\110\115\116\097\110\099\101","\066\097\100 \097\114\103\117\109\101\110\116 \'\112\097\114\101\110\116\'")assert(type(q)=="\115\116\114\105\110\103","\066\097\100 \097\114\103\117\109\101\110\116 \'\105\110\115\116\097\110\099\101\084\121\112\101\'")assert(type(C)=="\115\116\114\105\110\103","\066\097\100 \097\114\103\117\109\101\110\116 \'\110\097\109\101\'")local G=Z:FindFirstChild(C)if G then if G:IsA(q)then return G.Value else warn(("\091\086\097\108\117\101\066\097\115\101\085\116\105\108\115\046\103\101\116\086\097\108\117\101\093 - \086\097\108\117\101 \111\102 \116\121\112\101 \037\113 \111\102 \110\097\109\101 \037\113 \105\115 \111\102 \116\121\112\101 \037\113 \105\110 \037\115 \105\110\115\116\101\097\100"):format(q,C,G.ClassName,G:GetFullName()))return nil end else return A end end
--[=[
	Gets the value in the children

	@param parent Instance
	@param instanceType string
	@param name string
	@param default any?
	@return any
]=]
function ValueBaseUtils.getValue(parent, instanceType, name, default)
	assert(typeof(parent) == "Instance", "Bad argument 'parent'")
	assert(type(instanceType) == "string", "Bad argument 'instanceType'")
	assert(type(name) == "string", "Bad argument 'name'")

	local foundChild = parent:FindFirstChild(name)
	if foundChild then
		if foundChild:IsA(instanceType) then
			return foundChild.Value
		else
			warn(
				("[ValueBaseUtils.getValue] - Value of type %q of name %q is of type %q in %s instead"):format(
					instanceType,
					name,
					foundChild.ClassName,
					foundChild:GetFullName()
				)
			)
			return nil
		end
	else
		return default
	end
end
