local U=16 local I={Background=Color3.new(.91372549019608,.91372549019608,.91372549019608),Border=Color3.new(.5843137254902,.5843137254902,.5843137254902);Selected=Color3.new(.24705882352941,.46666666666667,.74117647058824),BorderSelected=Color3.new(.2156862745098,.4156862745098,.65490196078431),Text=Color3.new(.0,.0,.0);TextDisabled=Color3.new(.50196078431373,.50196078431373,.50196078431373);TextSelected=Color3.new(1.0,1.0,1.0),Button=Color3.new(.86666666666667,.86666666666667,.86666666666667);ButtonBorder=Color3.new(.5843137254902,.5843137254902,.5843137254902),ButtonSelected=Color3.new(1.0,.0,.0);Field=Color3.new(1.0,1.0,1.0),FieldBorder=Color3.new(.74901960784314,.74901960784314,.74901960784314);TitleBackground=Color3.new(.69803921568627,.69803921568627,.69803921568627)}do local U={}function SetZIndex(I,s)if not U[I]then U[I]=true if I:IsA("\071\117\105\079\098\106\101\099\116")then I.ZIndex=s end local Q=I:GetChildren()for U=1,#Q,1 do SetZIndex(Q[U],s)end U[I]=nil end end end function SetZIndexOnChanged(U)return U.Changed:connect(function(I)if I=="\090\073\110\100\101\120"then SetZIndex(U,U.ZIndex)end end)end function Create(U,I)local s if type(U)=="\115\116\114\105\110\103"then s=Instance.new(U)else s=U end for U,I in pairs(I)do if type(U)=="\110\117\109\098\101\114"then I.Parent=s else s[U]=I end end return s end

local ScrollBarWidth = 16

local ScrollStyles = {
	Background      = Color3.new(233/255, 233/255, 233/255);
	Border          = Color3.new(149/255, 149/255, 149/255);
	Selected        = Color3.new( 63/255, 119/255, 189/255);
	BorderSelected  = Color3.new( 55/255, 106/255, 167/255);
	Text            = Color3.new(  0/255,   0/255,   0/255);
	TextDisabled    = Color3.new(128/255, 128/255, 128/255);
	TextSelected    = Color3.new(255/255, 255/255, 255/255);
	Button          = Color3.new(221/255, 221/255, 221/255);
	ButtonBorder    = Color3.new(149/255, 149/255, 149/255);
	ButtonSelected  = Color3.new(255/255,   0/255,   0/255);
	Field           = Color3.new(255/255, 255/255, 255/255);
	FieldBorder     = Color3.new(191/255, 191/255, 191/255);
	TitleBackground = Color3.new(178/255, 178/255, 178/255);
}
do
	local ZIndexLock = {}
	function SetZIndex(object,z)
		if not ZIndexLock[object] then
			ZIndexLock[object] = true
			if object:IsA'GuiObject' then
				object.ZIndex = z
			end
			local children = object:GetChildren()
			for i = 1,#children do
				SetZIndex(children[i],z)
			end
			ZIndexLock[object] = nil
		end
	end
end
function SetZIndexOnChanged(object)
	return object.Changed:connect(function(p)
		if p == "ZIndex" then
			SetZIndex(object,object.ZIndex)
		end
	end)
end
function Create(ty,data)
	local obj
	if type(ty) == 'string' then
		obj = Instance.new(ty)
	else
		obj = ty
	end
	for k, v in pairs(data) do
		if type(k) == 'number' then
			v.Parent = obj
		else
			obj[k] = v
		end
	end
	return obj
end