local r=script.Parent.Parent.Parent local R=require(r.Modules.Creator)local a=require(script.Parent.AcrylicBlur)local e=R.New return function(R)local W={}W.Frame=e("\070\114\097\109\101",{Size=UDim2.fromScale(1,1),BackgroundTransparency=.9,BackgroundColor3=Color3.fromRGB(255,255,255);BorderSizePixel=0},{e("\073\109\097\103\101\076\097\098\101\108",{Image="\114\098\120\097\115\115\101\116\105\100\058\047\047\056\057\057\050\050\051\048\054\055\055",ScaleType="\083\108\105\099\101",SliceCenter=Rect.new(Vector2.new(99,99),Vector2.new(99,99)),AnchorPoint=Vector2.new(.5,.5),Size=UDim2.new(1,120,1,116),Position=UDim2.new(.5,0,.5,0),BackgroundTransparency=1,ImageColor3=Color3.fromRGB(0,0,0);ImageTransparency=.7});e("\085\073\067\111\114\110\101\114",{CornerRadius=UDim.new(0,8)});e("\070\114\097\109\101",{BackgroundTransparency=.45;Size=UDim2.fromScale(1,1);Name="\066\097\099\107\103\114\111\117\110\100",ThemeTag={BackgroundColor3="\065\099\114\121\108\105\099\077\097\105\110"}},{e("\085\073\067\111\114\110\101\114",{CornerRadius=UDim.new(0,8)})});e("\070\114\097\109\101",{BackgroundColor3=Color3.fromRGB(255,255,255),BackgroundTransparency=.4;Size=UDim2.fromScale(1,1)},{e("\085\073\067\111\114\110\101\114",{CornerRadius=UDim.new(0,8)});e("\085\073\071\114\097\100\105\101\110\116",{Rotation=90,ThemeTag={Color="\065\099\114\121\108\105\099\071\114\097\100\105\101\110\116"}})});e("\073\109\097\103\101\076\097\098\101\108",{Image="\114\098\120\097\115\115\101\116\105\100\058\047\047\057\057\054\056\051\052\052\049\048\053",ImageTransparency=.98,ScaleType=Enum.ScaleType.Tile,TileSize=UDim2.new(0,128,0,128),Size=UDim2.fromScale(1,1),BackgroundTransparency=1},{e("\085\073\067\111\114\110\101\114",{CornerRadius=UDim.new(0,8)})});e("\073\109\097\103\101\076\097\098\101\108",{Image="\114\098\120\097\115\115\101\116\105\100\058\047\047\057\057\054\056\051\052\052\050\050\055",ImageTransparency=.9;ScaleType=Enum.ScaleType.Tile;TileSize=UDim2.new(0,128,0,128);Size=UDim2.fromScale(1,1),BackgroundTransparency=1;ThemeTag={ImageTransparency="\065\099\114\121\108\105\099\078\111\105\115\101"}},{e("\085\073\067\111\114\110\101\114",{CornerRadius=UDim.new(0,8)})}),e("\070\114\097\109\101",{BackgroundTransparency=1;Size=UDim2.fromScale(1,1),ZIndex=2},{e("\085\073\067\111\114\110\101\114",{CornerRadius=UDim.new(0,8)});e("\085\073\083\116\114\111\107\101",{Transparency=.5;Thickness=1,ThemeTag={Color="\065\099\114\121\108\105\099\066\111\114\100\101\114"}})})})local L if(require(r)).UseAcrylic then L=a()L.Frame.Parent=W.Frame W.Model=L.Model W.AddParent=L.AddParent W.SetVisibility=L.SetVisibility end return W end
local Root = script.Parent.Parent.Parent
local Creator = require(Root.Modules.Creator)
local AcrylicBlur = require(script.Parent.AcrylicBlur)

local New = Creator.New

return function(props)
	local AcrylicPaint = {}

	AcrylicPaint.Frame = New("Frame", {
		Size = UDim2.fromScale(1, 1),
		BackgroundTransparency = 0.9,
		BackgroundColor3 = Color3.fromRGB(255, 255, 255),
		BorderSizePixel = 0,
	}, {
		New("ImageLabel", {
			Image = "rbxassetid://8992230677",
			ScaleType = "Slice",
			SliceCenter = Rect.new(Vector2.new(99, 99), Vector2.new(99, 99)),
			AnchorPoint = Vector2.new(0.5, 0.5),
			Size = UDim2.new(1, 120, 1, 116),
			Position = UDim2.new(0.5, 0, 0.5, 0),
			BackgroundTransparency = 1,
			ImageColor3 = Color3.fromRGB(0, 0, 0),
			ImageTransparency = 0.7,
		}),

		New("UICorner", {
			CornerRadius = UDim.new(0, 8),
		}),

		New("Frame", {
			BackgroundTransparency = 0.45,
			Size = UDim2.fromScale(1, 1),
			Name = "Background",
			ThemeTag = {
				BackgroundColor3 = "AcrylicMain",
			},
		}, {
			New("UICorner", {
				CornerRadius = UDim.new(0, 8),
			}),
		}),

		New("Frame", {
			BackgroundColor3 = Color3.fromRGB(255, 255, 255),
			BackgroundTransparency = 0.4,
			Size = UDim2.fromScale(1, 1),
		}, {
			New("UICorner", {
				CornerRadius = UDim.new(0, 8),
			}),

			New("UIGradient", {
				Rotation = 90,
				ThemeTag = {
					Color = "AcrylicGradient",
				},
			}),
		}),

		New("ImageLabel", {
			Image = "rbxassetid://9968344105",
			ImageTransparency = 0.98,
			ScaleType = Enum.ScaleType.Tile,
			TileSize = UDim2.new(0, 128, 0, 128),
			Size = UDim2.fromScale(1, 1),
			BackgroundTransparency = 1,
		}, {
			New("UICorner", {
				CornerRadius = UDim.new(0, 8),
			}),
		}),

		New("ImageLabel", {
			Image = "rbxassetid://9968344227",
			ImageTransparency = 0.9,
			ScaleType = Enum.ScaleType.Tile,
			TileSize = UDim2.new(0, 128, 0, 128),
			Size = UDim2.fromScale(1, 1),
			BackgroundTransparency = 1,
			ThemeTag = {
				ImageTransparency = "AcrylicNoise",
			},
		}, {
			New("UICorner", {
				CornerRadius = UDim.new(0, 8),
			}),
		}),

		New("Frame", {
			BackgroundTransparency = 1,
			Size = UDim2.fromScale(1, 1),
			ZIndex = 2,
		}, {
			New("UICorner", {
				CornerRadius = UDim.new(0, 8),
			}),
			New("UIStroke", {
				Transparency = 0.5,
				Thickness = 1,
				ThemeTag = {
					Color = "AcrylicBorder",
				},
			}),
		}),
	})

	local Blur

	if require(Root).UseAcrylic then
		Blur = AcrylicBlur()
		Blur.Frame.Parent = AcrylicPaint.Frame
		AcrylicPaint.Model = Blur.Model
		AcrylicPaint.AddParent = Blur.AddParent
		AcrylicPaint.SetVisibility = Blur.SetVisibility
	end

	return AcrylicPaint
end
