local Q=require(((game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")):WaitForChild("\080\114\111\106\101\099\116")):WaitForChild("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101"))local h=require(script:WaitForChild("\066\097\099\107\103\114\111\117\110\100"))local N=require(script:WaitForChild("\067\111\114\110\101\114\077\101\110\117\066\117\116\116\111\110\115"))local H=require(script:WaitForChild("\067\101\110\116\101\114\083\116\097\116\115"))local O=require(script:WaitForChild("\067\111\114\110\101\114\077\097\112"))local U=Q:GetResource("\085\073\046\065\115\112\101\099\116\082\097\116\105\111\083\119\105\116\099\104\101\114")local T=Instance.new("\083\099\114\101\101\110\071\117\105")T.Name="\066\111\116\116\111\109\066\097\114\071\117\105"T.Parent=script.Parent local J=Instance.new("\070\114\097\109\101")J.Name="\066\111\116\116\111\109\070\114\097\109\101"J.BackgroundTransparency=1 J.AnchorPoint=Vector2.new(0,1)J.Size=UDim2.new(1,0,.2,0)J.Position=UDim2.new(0,0,1,0)J.Parent=T U.new(T,.95,function()J.SizeConstraint=Enum.SizeConstraint.RelativeXY end,function()J.SizeConstraint=Enum.SizeConstraint.RelativeXX end)h.new(J)N.new(J)H.new(J)O.new(J)
--[[
TheNexusAvenger

Initialies the bottom bar.
--]]

local ReplicatedStorageProject = require(game:GetService("ReplicatedStorage"):WaitForChild("Project"):WaitForChild("ReplicatedStorage"))

local Background = require(script:WaitForChild("Background"))
local CornerMenuButtons = require(script:WaitForChild("CornerMenuButtons"))
local CenterStats = require(script:WaitForChild("CenterStats"))
local CornerMap = require(script:WaitForChild("CornerMap"))
local AspectRatioSwitcher = ReplicatedStorageProject:GetResource("UI.AspectRatioSwitcher")



--Create the ScreenGui.
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "BottomBarGui"
ScreenGui.Parent = script.Parent

local BottomFrame = Instance.new("Frame")
BottomFrame.Name = "BottomFrame"
BottomFrame.BackgroundTransparency = 1
BottomFrame.AnchorPoint = Vector2.new(0,1)
BottomFrame.Size = UDim2.new(1,0,0.2,0)
BottomFrame.Position = UDim2.new(0,0,1,0)
BottomFrame.Parent = ScreenGui

AspectRatioSwitcher.new(ScreenGui,0.95,function()
    BottomFrame.SizeConstraint = Enum.SizeConstraint.RelativeXY
end,function()
    BottomFrame.SizeConstraint = Enum.SizeConstraint.RelativeXX
end)

--Initialize the bottom bar.
Background.new(BottomFrame)
CornerMenuButtons.new(BottomFrame)
CenterStats.new(BottomFrame)
CornerMap.new(BottomFrame)