local x=Instance.new("\083\099\114\101\101\110\071\117\105")x.Enabled=true x.DisplayOrder=0 x.IgnoreGuiInset=true x.ResetOnSpawn=false x.Name="\084\111\112\098\097\114\080\108\117\115"local e=Instance.new("\070\111\108\100\101\114")e.Name="\065\099\116\105\118\101\073\116\101\109\115"e.Parent=x local P=Instance.new("\070\114\097\109\101")P.BackgroundTransparency=1 P.Name="\084\111\112\098\097\114\067\111\110\116\097\105\110\101\114"P.Position=UDim2.new(0,0,0,0)P.Size=UDim2.new(1,0,0,36)P.Visible=true P.ZIndex=1 P.Parent=x P.Active=false local S=Instance.new("\070\114\097\109\101")S.BackgroundTransparency=1 S.Name="\073\099\111\110\067\111\110\116\097\105\110\101\114"S.Position=UDim2.new(0,104,0,4)S.Visible=false S.ZIndex=1 S.Parent=P S.Active=false local j=Instance.new("\084\101\120\116\066\117\116\116\111\110")j.Name="\073\099\111\110\066\117\116\116\111\110"j.Visible=true j.Text=""j.ZIndex=10 j.BorderSizePixel=0 j.AutoButtonColor=false j.Parent=S j.Active=true j.TextTransparency=1 j.RichText=true local s=Instance.new("\073\109\097\103\101\076\097\098\101\108")s.BackgroundTransparency=1 s.Name="\073\099\111\110\073\109\097\103\101"s.AnchorPoint=Vector2.new(0,.5)s.Visible=true s.ZIndex=11 s.ScaleType=Enum.ScaleType.Fit s.Parent=j s.Active=false local z=Instance.new("\084\101\120\116\076\097\098\101\108")z.BackgroundTransparency=1 z.Name="\073\099\111\110\076\097\098\101\108"z.AnchorPoint=Vector2.new(0,.5)z.Position=UDim2.new(.5,0,.5,0)z.Text=""z.RichText=true z.TextScaled=false z.ClipsDescendants=true z.ZIndex=11 z.Active=false z.AutoLocalize=true z.Parent=j local r=z:Clone()r.Name="\070\097\107\101\073\099\111\110\076\097\098\101\108"r.AnchorPoint=Vector2.new(0,0)r.Position=UDim2.new(0,0,0,0)r.Size=UDim2.new(1,0,1,0)r.TextTransparency=1 r.AutoLocalize=false r.Parent=z.Parent 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=j local O=Instance.new("\085\073\067\111\114\110\101\114")O.Name="\073\099\111\110\067\111\114\110\101\114"O.Parent=j local V=Instance.new("\070\114\097\109\101")V.Name="\073\099\111\110\079\118\101\114\108\097\121"V.BackgroundTransparency=1 V.Position=j.Position V.Size=UDim2.new(1,0,1,0)V.Visible=true V.ZIndex=j.ZIndex+1 V.BorderSizePixel=0 V.Parent=S V.Active=false local J=O:Clone()J.Name="\073\099\111\110\079\118\101\114\108\097\121\067\111\114\110\101\114"J.Parent=V
-- 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 = true
iconButton.TextTransparency = 1
iconButton.RichText = true

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.Active = false
iconLabel.AutoLocalize = true
iconLabel.Parent = iconButton

local fakeIconLabel = iconLabel:Clone()
fakeIconLabel.Name = "FakeIconLabel"
fakeIconLabel.AnchorPoint = Vector2.new(0, 0)
fakeIconLabel.Position = UDim2.new(0, 0, 0, 0)
fakeIconLabel.Size = UDim2.new(1, 0, 1, 0)
fakeIconLabel.TextTransparency = 1
fakeIconLabel.AutoLocalize = false
fakeIconLabel.Parent = iconLabel.Parent

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
