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