local E=16 local R={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 E={}function SetZIndex(R,S)if not E[R]then E[R]=true if R:IsA("\071\117\105\079\098\106\101\099\116")then R.ZIndex=S end local l=R:GetChildren()for E=1,#l,1 do SetZIndex(l[E],S)end E[R]=nil end end end function SetZIndexOnChanged(E)return E.Changed:connect(function(R)if R=="\090\073\110\100\101\120"then SetZIndex(E,E.ZIndex)end end)end function Create(E,R)local S if type(E)=="\115\116\114\105\110\103"then S=Instance.new(E)else S=E end for E,R in pairs(R)do if type(E)=="\110\117\109\098\101\114"then R.Parent=S else S[E]=R end end return S end
----------------------------------------------------------------
-----------------------SCROLLBAR STUFF--------------------------
----------------------------------------------------------------
----------------------------------------------------------------
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
