local B="\070"local H=(TextService:GetTextSize(B,12.0,Enum.Font.SourceSans,Vector2.new(math.huge,math.huge))).X local t=18 local function E(E)return new("\073\109\097\103\101\076\097\098\101\108",{BackgroundTransparency=1,ImageTransparency=.86;Image="\114\098\120\097\115\115\101\116\105\100\058\047\047\052\052\052\053\057\053\057\053\050\051",ScaleType=Enum.ScaleType.Slice,SliceCenter=Rect.new(4,4,12,12),ImageColor3=Color3.fromRGB(0,0,0),Size=UDim2.new(0,H+(t+12)/2,0,15.0),LayoutOrder=E.LayoutOrder or 3},{IconWrapper=new("\070\114\097\109\101",{Size=UDim2.new(0,t/2,0,t/2),Position=UDim2.new(0,2.0,.5,0),AnchorPoint=Vector2.new(0,.5);BackgroundTransparency=1;LayoutOrder=0},{Icon=new("\073\109\097\103\101\076\097\098\101\108",{Size=UDim2.new(1,0,1,0),BackgroundTransparency=1;ImageTransparency=.5,Image="\114\098\120\097\115\115\101\116\105\100\058\047\047\050\050\052\052\052\053\050\057\055\056",ImageRectOffset=Vector2.new(28,0)*2;ImageRectSize=Vector2.new(14,14)*2})}),Label=new("\084\101\120\116\076\097\098\101\108",{BackgroundTransparency=1,Size=UDim2.new(0,H,1,0);Position=UDim2.new(0,(6+t)/2,.5,0),AnchorPoint=Vector2.new(0,.5);Font=Enum.Font.SourceSans;TextSize=12.0,Text=B,TextTransparency=.5;TextYAlignment=Enum.TextYAlignment.Center;TextColor3=Color3.fromRGB(255,255,255),LayoutOrder=1})})end return E

local LABEL_TEXT = 'F'
local LABEL_LENGTH = TextService:GetTextSize(LABEL_TEXT,
    24/2, Enum.Font.SourceSans, Vector2.new(math.huge, math.huge)).X
local ICON_SIZE = 18

local function ScopeLockTooltip(props)
    return new('ImageLabel', {
        BackgroundTransparency = 1;
        ImageTransparency = 1 - 0.14;
        Image = 'rbxassetid://4445959523';
        ScaleType = Enum.ScaleType.Slice;
        SliceCenter = Rect.new(4, 4, 12, 12);
        ImageColor3 = Color3.fromRGB(0, 0, 0);
        Size = UDim2.new(0, LABEL_LENGTH + (ICON_SIZE + 12)/2, 0, 30/2);
        LayoutOrder = props.LayoutOrder or 3;
    },
    {
        IconWrapper = new('Frame', {
            Size = UDim2.new(0, ICON_SIZE/2, 0, ICON_SIZE/2);
            Position = UDim2.new(0, 4/2, 0.5, 0);
            AnchorPoint = Vector2.new(0, 0.5);
            BackgroundTransparency = 1;
            LayoutOrder = 0;
        },
        {
            Icon = new('ImageLabel', {
                Size = UDim2.new(1, 0, 1, 0);
                BackgroundTransparency = 1;
                ImageTransparency = 0.5;
                Image = 'rbxassetid://2244452978';
                ImageRectOffset = Vector2.new(14*2, 0) * 2;
                ImageRectSize = Vector2.new(14, 14) * 2;
            });
        });
        Label = new('TextLabel', {
            BackgroundTransparency = 1;
            Size = UDim2.new(0, LABEL_LENGTH, 1, 0);
            Position = UDim2.new(0, (6 + ICON_SIZE)/2, 0.5, 0);
            AnchorPoint = Vector2.new(0, 0.5);
            Font = Enum.Font.SourceSans;
            TextSize = 24/2;
            Text = LABEL_TEXT;
            TextTransparency = 0.5;
            TextYAlignment = Enum.TextYAlignment.Center;
            TextColor3 = Color3.fromRGB(255, 255, 255);
            LayoutOrder = 1;
        });
    })
end

return ScopeLockTooltip
