local m=nil;(coroutine.wrap(function()m=require((game.ReplicatedStorage:WaitForChild("\070\114\097\109\101\119\111\114\107")):WaitForChild("\076\105\098\114\097\114\121"))end))()return function(b,R)local k=nil if type(b)=="\098\111\111\108\101\097\110"then k="\066\111\111\108\086\097\108\117\101"elseif type(b)=="\110\117\109\098\101\114"then k="\078\117\109\098\101\114\086\097\108\117\101"elseif type(b)=="\115\116\114\105\110\103"then k="\083\116\114\105\110\103\086\097\108\117\101"elseif typeof(b)=="\066\114\105\099\107\067\111\108\111\114"then k="\066\114\105\099\107\067\111\108\111\114\086\097\108\117\101"elseif typeof(b)=="\067\070\114\097\109\101"then k="\067\070\114\097\109\101\086\097\108\117\101"elseif typeof(b)=="\067\111\108\111\114\051"then k="\067\111\108\111\114\051\086\097\108\117\101"elseif typeof(b)=="\082\097\121"then k="\082\097\121\086\097\108\117\101"elseif typeof(b)=="\086\101\099\116\111\114\051"then k="\086\101\099\116\111\114\051\086\097\108\117\101"elseif typeof(b)=="\073\110\115\116\097\110\099\101"then k="\079\098\106\101\099\116\086\097\108\117\101"end if not k then m.Print("\086\097\108\117\101 \116\121\112\101 \110\111\116 \115\117\112\112\111\114\116\101\100",true)return end local F=Instance.new(k)F.Value=b if R then F.Parent=R end return F end
--

local u1 = nil;
coroutine.wrap(function()
	u1 = require(game.ReplicatedStorage:WaitForChild("Framework"):WaitForChild("Library"));
end)();
return function(p1, p2)
	local v1 = nil;
	if type(p1) == "boolean" then
		v1 = "BoolValue";
	elseif type(p1) == "number" then
		v1 = "NumberValue";
	elseif type(p1) == "string" then
		v1 = "StringValue";
	elseif typeof(p1) == "BrickColor" then
		v1 = "BrickColorValue";
	elseif typeof(p1) == "CFrame" then
		v1 = "CFrameValue";
	elseif typeof(p1) == "Color3" then
		v1 = "Color3Value";
	elseif typeof(p1) == "Ray" then
		v1 = "RayValue";
	elseif typeof(p1) == "Vector3" then
		v1 = "Vector3Value";
	elseif typeof(p1) == "Instance" then
		v1 = "ObjectValue";
	end;
	if not v1 then
		u1.Print("Value type not supported", true);
		return;
	end;
	local v2 = Instance.new(v1);
	v2.Value = p1;
	if p2 then
		v2.Parent = p2;
	end;
	return v2;
end;
