-- Generated by Roblox GUI Maker
local player = game:GetService("Players").LocalPlayer
local gui = Instance.new("ScreenGui")
gui.Name = "MainMenu"
gui.ResetOnSpawn = false
gui.IgnoreGuiInset = true
gui.Parent = player:WaitForChild("PlayerGui")
local el0 = Instance.new("Frame")
el0.Name = "Panel"
el0.Size = UDim2.new(0.4, 0, 0.68, 0)
el0.Position = UDim2.new(0.3, 0, 0.16, 0)
el0.BackgroundColor3 = Color3.fromRGB(36, 21, 25)
el0.BackgroundTransparency = 0
el0.ZIndex = 1
el0.LayoutOrder = 0
local el0_corner = Instance.new("UICorner")
el0_corner.CornerRadius = UDim.new(0, 18)
el0_corner.Parent = el0
local el0_grad = Instance.new("UIGradient")
el0_grad.Color = ColorSequence.new(ColorSequenceKeypoint.new(0, Color3.fromRGB(62, 64, 72)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0)))
el0_grad.Rotation = 45
el0_grad.Parent = el0
local el0_list = Instance.new("UIListLayout")
el0_list.FillDirection = Enum.FillDirection.Vertical
el0_list.Padding = UDim.new(0, 8)
el0_list.SortOrder = Enum.SortOrder.LayoutOrder
el0_list.Parent = el0
local el0_pad = Instance.new("UIPadding")
el0_pad.PaddingTop = UDim.new(0, 20)
el0_pad.PaddingBottom = UDim.new(0, 20)
el0_pad.PaddingLeft = UDim.new(0, 20)
el0_pad.PaddingRight = UDim.new(0, 20)
el0_pad.Parent = el0
el0.Parent = gui
local el1 = Instance.new("TextLabel")
el1.Name = "Title"
el1.Size = UDim2.new(1, 0, 0.18, 0)
el1.Position = UDim2.new(0, 0, 0, 0)
el1.BackgroundTransparency = 1
el1.ZIndex = 1
el1.LayoutOrder = 0
local el1_corner = Instance.new("UICorner")
el1_corner.CornerRadius = UDim.new(0, 8)
el1_corner.Parent = el1
el1.Text = "GAME TITLE"
el1.Font = Enum.Font.GothamBlack
el1.TextSize = 30
el1.TextColor3 = Color3.fromRGB(255, 209, 102)
el1.Parent = el0
local el2 = Instance.new("TextButton")
el2.Name = "Play"
el2.Size = UDim2.new(1, 0, 0.14, 0)
el2.Position = UDim2.new(0, 0, 0, 0)
el2.BackgroundColor3 = Color3.fromRGB(255, 122, 69)
el2.BackgroundTransparency = 0
el2.ZIndex = 1
el2.LayoutOrder = 1
local el2_corner = Instance.new("UICorner")
el2_corner.CornerRadius = UDim.new(0, 10)
el2_corner.Parent = el2
local el2_grad = Instance.new("UIGradient")
el2_grad.Color = ColorSequence.new(ColorSequenceKeypoint.new(0, Color3.fromRGB(41, 203, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 121, 214)))
el2_grad.Rotation = 45
el2_grad.Parent = el2
el2.Text = "PLAY"
el2.Font = Enum.Font.GothamBold
el2.TextSize = 20
el2.TextColor3 = Color3.fromRGB(42, 13, 3)
el2.Parent = el0
local el3 = Instance.new("TextButton")
el3.Name = "Settings"
el3.Size = UDim2.new(1, 0, 0.14, 0)
el3.Position = UDim2.new(0, 0, 0, 0)
el3.BackgroundColor3 = Color3.fromRGB(49, 28, 34)
el3.BackgroundTransparency = 0
el3.ZIndex = 1
el3.LayoutOrder = 2
local el3_corner = Instance.new("UICorner")
el3_corner.CornerRadius = UDim.new(0, 10)
el3_corner.Parent = el3
local el3_grad = Instance.new("UIGradient")
el3_grad.Color = ColorSequence.new(ColorSequenceKeypoint.new(0, Color3.fromRGB(81, 82, 92)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 10)))
el3_grad.Rotation = 45
el3_grad.Parent = el3
el3.Text = "SETTINGS"
el3.Font = Enum.Font.GothamMedium
el3.TextSize = 16
el3.TextColor3 = Color3.fromRGB(251, 233, 231)
el3.Parent = el0
local el4 = Instance.new("TextButton")
el4.Name = "Quit"
el4.Size = UDim2.new(1, 0, 0.14, 0)
el4.Position = UDim2.new(0, 0, 0, 0)
el4.BackgroundColor3 = Color3.fromRGB(49, 28, 34)
el4.BackgroundTransparency = 0
el4.ZIndex = 1
el4.LayoutOrder = 3
local el4_corner = Instance.new("UICorner")
el4_corner.CornerRadius = UDim.new(0, 10)
el4_corner.Parent = el4
local el4_grad = Instance.new("UIGradient")
el4_grad.Color = ColorSequence.new(ColorSequenceKeypoint.new(0, Color3.fromRGB(81, 82, 92)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 10)))
el4_grad.Rotation = 45
el4_grad.Parent = el4
el4.Text = "QUIT"
el4.Font = Enum.Font.GothamMedium
el4.TextSize = 16
el4.TextColor3 = Color3.fromRGB(251, 233, 231)
el4.Parent = el0
local el5 = Instance.new("Frame")
el5.Name = "SettingsPanel"
el5.Size = UDim2.new(0.4, 0, 0.52, 0)
el5.Position = UDim2.new(0.3, 0, 0.24, 0)
el5.BackgroundColor3 = Color3.fromRGB(36, 21, 25)
el5.BackgroundTransparency = 0
el5.ZIndex = 5
el5.LayoutOrder = 1
local el5_corner = Instance.new("UICorner")
el5_corner.CornerRadius = UDim.new(0, 18)
el5_corner.Parent = el5
local el5_grad = Instance.new("UIGradient")
el5_grad.Color = ColorSequence.new(ColorSequenceKeypoint.new(0, Color3.fromRGB(62, 64, 72)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0)))
el5_grad.Rotation = 45
el5_grad.Parent = el5
local el5_list = Instance.new("UIListLayout")
el5_list.FillDirection = Enum.FillDirection.Vertical
el5_list.Padding = UDim.new(0, 8)
el5_list.SortOrder = Enum.SortOrder.LayoutOrder
el5_list.Parent = el5
local el5_pad = Instance.new("UIPadding")
el5_pad.PaddingTop = UDim.new(0, 20)
el5_pad.PaddingBottom = UDim.new(0, 20)
el5_pad.PaddingLeft = UDim.new(0, 20)
el5_pad.PaddingRight = UDim.new(0, 20)
el5_pad.Parent = el5
el5.Visible = false
el5.Parent = gui
local el6 = Instance.new("TextLabel")
el6.Name = "SettingsTitle"
el6.Size = UDim2.new(1, 0, 0.25, 0)
el6.Position = UDim2.new(0, 0, 0, 0)
el6.BackgroundTransparency = 1
el6.ZIndex = 6
el6.LayoutOrder = 0
local el6_corner = Instance.new("UICorner")
el6_corner.CornerRadius = UDim.new(0, 8)
el6_corner.Parent = el6
el6.Text = "SETTINGS"
el6.Font = Enum.Font.GothamBold
el6.TextSize = 24
el6.TextColor3 = Color3.fromRGB(251, 233, 231)
el6.Parent = el5
local el7 = Instance.new("TextButton")
el7.Name = "CloseSettings"
el7.Size = UDim2.new(1, 0, 0.18, 0)
el7.Position = UDim2.new(0, 0, 0, 0)
el7.BackgroundColor3 = Color3.fromRGB(49, 28, 34)
el7.BackgroundTransparency = 0
el7.ZIndex = 6
el7.LayoutOrder = 1
local el7_corner = Instance.new("UICorner")
el7_corner.CornerRadius = UDim.new(0, 10)
el7_corner.Parent = el7
local el7_grad = Instance.new("UIGradient")
el7_grad.Color = ColorSequence.new(ColorSequenceKeypoint.new(0, Color3.fromRGB(81, 82, 92)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 10)))
el7_grad.Rotation = 45
el7_grad.Parent = el7
el7.Text = "CLOSE"
el7.Font = Enum.Font.GothamMedium
el7.TextSize = 16
el7.TextColor3 = Color3.fromRGB(251, 233, 231)
el7.Parent = el5
el2.Activated:Connect(function()
gui.Enabled = false
end)
el3.Activated:Connect(function()
el5.Visible = true
end)
el7.Activated:Connect(function()
el5.Visible = false
end)