-- Generated by Roblox GUI Maker
local player = game:GetService("Players").LocalPlayer
local gui = Instance.new("ScreenGui")
gui.Name = "QuestTracker"
gui.ResetOnSpawn = false
gui.IgnoreGuiInset = true
gui.Parent = player:WaitForChild("PlayerGui")
local el0 = Instance.new("Frame")
el0.Name = "QuestTrackerPanel"
el0.Size = UDim2.new(0.31, 0, 0.38, 0)
el0.Position = UDim2.new(0.65, 0, 0.08, 0)
el0.BackgroundColor3 = Color3.fromRGB(21, 25, 35)
el0.BackgroundTransparency = 0
el0.ZIndex = 1
el0.LayoutOrder = 0
local el0_corner = Instance.new("UICorner")
el0_corner.CornerRadius = UDim.new(0, 14)
el0_corner.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, 12)
el0_pad.PaddingBottom = UDim.new(0, 12)
el0_pad.PaddingLeft = UDim.new(0, 12)
el0_pad.PaddingRight = UDim.new(0, 12)
el0_pad.Parent = el0
el0.Parent = gui
local el1 = Instance.new("Frame")
el1.Name = "QuestHeader"
el1.Size = UDim2.new(1, 0, 0.22, 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.Parent = el0
local el2 = Instance.new("TextLabel")
el2.Name = "QuestTitle"
el2.Size = UDim2.new(0.75, 0, 0.7, 0)
el2.Position = UDim2.new(0, 0, 0.15, 0)
el2.BackgroundTransparency = 1
el2.ZIndex = 1
el2.LayoutOrder = 0
local el2_corner = Instance.new("UICorner")
el2_corner.CornerRadius = UDim.new(0, 8)
el2_corner.Parent = el2
el2.Text = "ACTIVE QUEST"
el2.Font = Enum.Font.GothamBold
el2.TextSize = 15
el2.TextColor3 = Color3.fromRGB(110, 231, 183)
el2.Parent = el1
local el3 = Instance.new("TextButton")
el3.Name = "ToggleDetails"
el3.Size = UDim2.new(0.16, 0, 0.76, 0)
el3.Position = UDim2.new(0.82, 0, 0.12, 0)
el3.BackgroundColor3 = Color3.fromRGB(38, 51, 70)
el3.BackgroundTransparency = 0
el3.ZIndex = 1
el3.LayoutOrder = 1
local el3_corner = Instance.new("UICorner")
el3_corner.CornerRadius = UDim.new(0, 7)
el3_corner.Parent = el3
el3.Text = "-"
el3.Font = Enum.Font.GothamBold
el3.TextSize = 18
el3.TextColor3 = Color3.fromRGB(200, 211, 223)
el3.Parent = el1
local el4 = Instance.new("Frame")
el4.Name = "QuestDetails"
el4.Size = UDim2.new(1, 0, 0.7, 0)
el4.Position = UDim2.new(0, 0, 0, 0)
el4.BackgroundColor3 = Color3.fromRGB(32, 39, 53)
el4.BackgroundTransparency = 0
el4.ZIndex = 1
el4.LayoutOrder = 1
local el4_corner = Instance.new("UICorner")
el4_corner.CornerRadius = UDim.new(0, 10)
el4_corner.Parent = el4
el4.Parent = el0
local el5 = Instance.new("TextLabel")
el5.Name = "QuestName"
el5.Size = UDim2.new(0.88, 0, 0.18, 0)
el5.Position = UDim2.new(0.06, 0, 0.08, 0)
el5.BackgroundTransparency = 1
el5.ZIndex = 1
el5.LayoutOrder = 0
local el5_corner = Instance.new("UICorner")
el5_corner.CornerRadius = UDim.new(0, 8)
el5_corner.Parent = el5
el5.Text = "Crystal Collector"
el5.Font = Enum.Font.GothamBold
el5.TextSize = 16
el5.TextColor3 = Color3.fromRGB(241, 245, 249)
el5.Parent = el4
local el6 = Instance.new("TextLabel")
el6.Name = "QuestObjective"
el6.Size = UDim2.new(0.88, 0, 0.15, 0)
el6.Position = UDim2.new(0.06, 0, 0.28, 0)
el6.BackgroundTransparency = 1
el6.ZIndex = 1
el6.LayoutOrder = 1
local el6_corner = Instance.new("UICorner")
el6_corner.CornerRadius = UDim.new(0, 8)
el6_corner.Parent = el6
el6.Text = "Collect crystal shards"
el6.Font = Enum.Font.GothamMedium
el6.TextSize = 12
el6.TextColor3 = Color3.fromRGB(170, 182, 197)
el6.Parent = el4
local el7 = Instance.new("Frame")
el7.Name = "ProgressBackground"
el7.Size = UDim2.new(0.88, 0, 0.08, 0)
el7.Position = UDim2.new(0.06, 0, 0.48, 0)
el7.BackgroundColor3 = Color3.fromRGB(48, 58, 73)
el7.BackgroundTransparency = 0
el7.ZIndex = 1
el7.LayoutOrder = 2
local el7_corner = Instance.new("UICorner")
el7_corner.CornerRadius = UDim.new(0, 999)
el7_corner.Parent = el7
el7.Parent = el4
local el8 = Instance.new("Frame")
el8.Name = "ProgressFill"
el8.Size = UDim2.new(0.66, 0, 1, 0)
el8.Position = UDim2.new(0, 0, 0, 0)
el8.BackgroundColor3 = Color3.fromRGB(52, 211, 153)
el8.BackgroundTransparency = 0
el8.ZIndex = 1
el8.LayoutOrder = 0
local el8_corner = Instance.new("UICorner")
el8_corner.CornerRadius = UDim.new(0, 999)
el8_corner.Parent = el8
el8.Parent = el7
local el9 = Instance.new("TextLabel")
el9.Name = "ProgressValue"
el9.Size = UDim2.new(0.4, 0, 0.14, 0)
el9.Position = UDim2.new(0.06, 0, 0.6, 0)
el9.BackgroundTransparency = 1
el9.ZIndex = 1
el9.LayoutOrder = 3
local el9_corner = Instance.new("UICorner")
el9_corner.CornerRadius = UDim.new(0, 8)
el9_corner.Parent = el9
el9.Text = "8 / 12"
el9.Font = Enum.Font.GothamBold
el9.TextSize = 12
el9.TextColor3 = Color3.fromRGB(110, 231, 183)
el9.Parent = el4
local el10 = Instance.new("TextLabel")
el10.Name = "QuestReward"
el10.Size = UDim2.new(0.48, 0, 0.14, 0)
el10.Position = UDim2.new(0.46, 0, 0.6, 0)
el10.BackgroundTransparency = 1
el10.ZIndex = 1
el10.LayoutOrder = 4
local el10_corner = Instance.new("UICorner")
el10_corner.CornerRadius = UDim.new(0, 8)
el10_corner.Parent = el10
el10.Text = "Reward: 350 Coins"
el10.Font = Enum.Font.GothamMedium
el10.TextSize = 11
el10.TextColor3 = Color3.fromRGB(251, 191, 36)
el10.Parent = el4
el3.Activated:Connect(function()
el4.Visible = not el4.Visible
end)