local a=Instance.new("\083\099\114\101\101\110\071\117\105")a.Enabled=true a.DisplayOrder=0 a.IgnoreGuiInset=true a.ResetOnSpawn=false a.Name="\084\111\112\098\097\114\080\108\117\115"local n=Instance.new("\070\111\108\100\101\114")n.Name="\065\099\116\105\118\101\073\116\101\109\115"n.Parent=a local t=Instance.new("\070\114\097\109\101")t.BackgroundTransparency=1 t.Name="\084\111\112\098\097\114\067\111\110\116\097\105\110\101\114"t.Position=UDim2.new(0,0,0,0)t.Size=UDim2.new(1,0,0,36)t.Visible=true t.ZIndex=1 t.Parent=a t.Active=false local H=Instance.new("\070\114\097\109\101")H.BackgroundTransparency=1 H.Name="\073\099\111\110\067\111\110\116\097\105\110\101\114"H.Position=UDim2.new(0,104,0,4)H.Visible=false H.ZIndex=1 H.Parent=t H.Active=false local O=Instance.new("\084\101\120\116\066\117\116\116\111\110")O.Name="\073\099\111\110\066\117\116\116\111\110"O.Visible=true O.Text=""O.ZIndex=10 O.BorderSizePixel=0 O.AutoButtonColor=false O.Parent=H O.Active=false local z=Instance.new("\073\109\097\103\101\076\097\098\101\108")z.BackgroundTransparency=1 z.Name="\073\099\111\110\073\109\097\103\101"z.AnchorPoint=Vector2.new(0,.5)z.Visible=true z.ZIndex=11 z.ScaleType=Enum.ScaleType.Fit z.Parent=O z.Active=false local L=Instance.new("\084\101\120\116\076\097\098\101\108")L.BackgroundTransparency=1 L.Name="\073\099\111\110\076\097\098\101\108"L.AnchorPoint=Vector2.new(0,.5)L.Position=UDim2.new(.5,0,.5,0)L.Text=""L.RichText=true L.TextScaled=false L.ClipsDescendants=true L.ZIndex=11 L.Parent=O L.Active=false local N=Instance.new("\085\073\071\114\097\100\105\101\110\116")N.Name="\073\099\111\110\071\114\097\100\105\101\110\116"N.Enabled=true N.Parent=O local r=Instance.new("\085\073\067\111\114\110\101\114")r.Name="\073\099\111\110\067\111\114\110\101\114"r.Parent=O local A=Instance.new("\070\114\097\109\101")A.Name="\073\099\111\110\079\118\101\114\108\097\121"A.BackgroundTransparency=1 A.Position=O.Position A.Size=UDim2.new(1,0,1,0)A.Visible=true A.ZIndex=O.ZIndex+1 A.BorderSizePixel=0 A.Parent=H A.Active=false local i=r:Clone()i.Name="\073\099\111\110\079\118\101\114\108\097\121\067\111\114\110\101\114"i.Parent=A
-- SETUP ICON TEMPLATE
local topbarPlusGui = Instance.new("ScreenGui")
topbarPlusGui.Enabled = true
topbarPlusGui.DisplayOrder = 0
topbarPlusGui.IgnoreGuiInset = true
topbarPlusGui.ResetOnSpawn = false
topbarPlusGui.Name = "TopbarPlus"

local activeItems = Instance.new("Folder")
activeItems.Name = "ActiveItems"
activeItems.Parent = topbarPlusGui

local topbarContainer = Instance.new("Frame")
topbarContainer.BackgroundTransparency = 1
topbarContainer.Name = "TopbarContainer"
topbarContainer.Position = UDim2.new(0, 0, 0, 0)
topbarContainer.Size = UDim2.new(1, 0, 0, 36)
topbarContainer.Visible = true
topbarContainer.ZIndex = 1
topbarContainer.Parent = topbarPlusGui
topbarContainer.Active = false

local iconContainer = Instance.new("Frame")
iconContainer.BackgroundTransparency = 1
iconContainer.Name = "IconContainer"
iconContainer.Position = UDim2.new(0, 104, 0, 4)
iconContainer.Visible = false
iconContainer.ZIndex = 1
iconContainer.Parent = topbarContainer
iconContainer.Active = false

local iconButton = Instance.new("TextButton")
iconButton.Name = "IconButton"
iconButton.Visible = true
iconButton.Text = ""
iconButton.ZIndex = 10 --2
iconButton.BorderSizePixel = 0
iconButton.AutoButtonColor = false
iconButton.Parent = iconContainer
iconButton.Active = false

local iconImage = Instance.new("ImageLabel")
iconImage.BackgroundTransparency = 1
iconImage.Name = "IconImage"
iconImage.AnchorPoint = Vector2.new(0, 0.5)
iconImage.Visible = true
iconImage.ZIndex = 11 --3
iconImage.ScaleType = Enum.ScaleType.Fit
iconImage.Parent = iconButton
iconImage.Active = false

local iconLabel = Instance.new("TextLabel")
iconLabel.BackgroundTransparency = 1
iconLabel.Name = "IconLabel"
iconLabel.AnchorPoint = Vector2.new(0, 0.5)
iconLabel.Position = UDim2.new(0.5, 0, 0.5, 0)
iconLabel.Text = ""
iconLabel.RichText = true
iconLabel.TextScaled = false
iconLabel.ClipsDescendants = true
iconLabel.ZIndex = 11 --3
iconLabel.Parent = iconButton
iconLabel.Active = false

local iconGradient = Instance.new("UIGradient")
iconGradient.Name = "IconGradient"
iconGradient.Enabled = true
iconGradient.Parent = iconButton

local iconCorner = Instance.new("UICorner")
iconCorner.Name = "IconCorner"
iconCorner.Parent = iconButton

local iconOverlay = Instance.new("Frame")
iconOverlay.Name = "IconOverlay"
iconOverlay.BackgroundTransparency = 1
iconOverlay.Position = iconButton.Position
iconOverlay.Size = UDim2.new(1, 0, 1, 0)
iconOverlay.Visible = true
iconOverlay.ZIndex = iconButton.ZIndex + 1
iconOverlay.BorderSizePixel = 0
iconOverlay.Parent = iconContainer
iconOverlay.Active = false

local iconOverlayCorner = iconCorner:Clone()
iconOverlayCorner.Name = "IconOverlayCorner"
iconOverlayCorner.Parent = iconOverlay
