local g=nil;(coroutine.wrap(function()g=require((game.ReplicatedStorage:WaitForChild("\070\114\097\109\101\119\111\114\107")):WaitForChild("\076\105\098\114\097\114\121"))end))()return function(p,J)local I=nil if type(p)=="\098\111\111\108\101\097\110"then I="\066\111\111\108\086\097\108\117\101"elseif type(p)=="\110\117\109\098\101\114"then I="\078\117\109\098\101\114\086\097\108\117\101"elseif type(p)=="\115\116\114\105\110\103"then I="\083\116\114\105\110\103\086\097\108\117\101"elseif typeof(p)=="\066\114\105\099\107\067\111\108\111\114"then I="\066\114\105\099\107\067\111\108\111\114\086\097\108\117\101"elseif typeof(p)=="\067\070\114\097\109\101"then I="\067\070\114\097\109\101\086\097\108\117\101"elseif typeof(p)=="\067\111\108\111\114\051"then I="\067\111\108\111\114\051\086\097\108\117\101"elseif typeof(p)=="\082\097\121"then I="\082\097\121\086\097\108\117\101"elseif typeof(p)=="\086\101\099\116\111\114\051"then I="\086\101\099\116\111\114\051\086\097\108\117\101"elseif typeof(p)=="\073\110\115\116\097\110\099\101"then I="\079\098\106\101\099\116\086\097\108\117\101"end if not I then g.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 w=Instance.new(I)w.Value=p if J then w.Parent=J end return w end
--[[

	LOWGames Studios
	Date: 27 October 2022
	by Elder
	
]]
--

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
