Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local DungeonList = Instance.new("ScreenGui")
- local DungeonFrame = Instance.new("Frame")
- local Start = Instance.new("TextButton")
- local Difficulty = Instance.new("TextLabel")
- local NextDif = Instance.new("TextButton")
- local PrevDif = Instance.new("TextButton")
- local Dungeon = Instance.new("TextLabel")
- local PrevDung = Instance.new("TextButton")
- local NextDung = Instance.new("TextButton")
- local Mode = Instance.new("TextLabel")
- local PrevMode = Instance.new("TextButton")
- local NextMode = Instance.new("TextButton")
- local Type = Instance.new("TextLabel")
- local PrevType = Instance.new("TextButton")
- local NextType = Instance.new("TextButton")
- DungeonList.Name = "Menus"
- DungeonList.Parent = game.CoreGui
- DungeonFrame.Name = "DungeonFrame"
- DungeonFrame.Parent = DungeonList
- DungeonFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- DungeonFrame.Position = UDim2.new(0, -45, 0, 245)
- DungeonFrame.Size = UDim2.new(0, 215, 0, 160)
- DungeonFrame.Style = Enum.FrameStyle.RobloxRound
- DungeonFrame.Active = true
- DungeonFrame.Selectable = true
- DungeonFrame.Draggable = true
- Start.Name = "Start"
- Start.Parent = DungeonFrame
- Start.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Start.Position = UDim2.new(0, 25, 0, 120)
- Start.Size = UDim2.new(0, 150, 0, 25)
- Start.Style = Enum.ButtonStyle.RobloxButton
- Start.Font = Enum.Font.GothamSemibold
- Start.Text = "START"
- Start.TextColor3 = Color3.fromRGB(255, 255, 255)
- Start.TextSize = 14.000
- Difficulty.Name = "Difficulty"
- Difficulty.Parent = DungeonFrame
- Difficulty.BackgroundColor3 = Color3.fromRGB(129, 129, 129)
- Difficulty.BorderSizePixel = 0
- Difficulty.Position = UDim2.new(0, 10, 0, 5)
- Difficulty.Size = UDim2.new(0, 180, 0, 20)
- Difficulty.Font = Enum.Font.GothamSemibold
- Difficulty.Text = "Easy"
- Difficulty.TextColor3 = Color3.fromRGB(0, 0, 0)
- Difficulty.TextSize = 16.000
- NextDif.Name = "NextDif"
- NextDif.Parent = Difficulty
- NextDif.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- NextDif.BackgroundTransparency = 1.000
- NextDif.Position = UDim2.new(0, 180, 0, 0)
- NextDif.Size = UDim2.new(0, 15, 0, 20)
- NextDif.Font = Enum.Font.GothamBold
- NextDif.Text = ">"
- NextDif.TextColor3 = Color3.fromRGB(255, 255, 255)
- NextDif.TextSize = 18.000
- PrevDif.Name = "PrevDif"
- PrevDif.Parent = Difficulty
- PrevDif.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- PrevDif.BackgroundTransparency = 1.000
- PrevDif.Position = UDim2.new(0, -15, 0, 0)
- PrevDif.Size = UDim2.new(0, 15, 0, 20)
- PrevDif.Font = Enum.Font.GothamBold
- PrevDif.Text = "<"
- PrevDif.TextColor3 = Color3.fromRGB(255, 255, 255)
- PrevDif.TextSize = 18.000
- Dungeon.Name = "Dungeon"
- Dungeon.Parent = DungeonFrame
- Dungeon.BackgroundColor3 = Color3.fromRGB(129, 129, 129)
- Dungeon.BorderSizePixel = 0
- Dungeon.Position = UDim2.new(0, 10, 0, 35)
- Dungeon.Size = UDim2.new(0, 180, 0, 20)
- Dungeon.Font = Enum.Font.GothamSemibold
- Dungeon.Text = "Ancient Jungle"
- Dungeon.TextColor3 = Color3.fromRGB(0, 0, 0)
- Dungeon.TextSize = 16.000
- PrevDung.Name = "PrevDung"
- PrevDung.Parent = Dungeon
- PrevDung.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- PrevDung.BackgroundTransparency = 1.000
- PrevDung.Position = UDim2.new(0, -15, 0, 0)
- PrevDung.Size = UDim2.new(0, 15, 0, 20)
- PrevDung.Font = Enum.Font.GothamBold
- PrevDung.Text = "<"
- PrevDung.TextColor3 = Color3.fromRGB(255, 255, 255)
- PrevDung.TextSize = 18.000
- NextDung.Name = "NextDung"
- NextDung.Parent = Dungeon
- NextDung.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- NextDung.BackgroundTransparency = 1.000
- NextDung.Position = UDim2.new(0, 180, 0, 0)
- NextDung.Size = UDim2.new(0, 15, 0, 20)
- NextDung.Font = Enum.Font.GothamBold
- NextDung.Text = ">"
- NextDung.TextColor3 = Color3.fromRGB(255, 255, 255)
- NextDung.TextSize = 18.000
- Mode.Name = "Mode"
- Mode.Parent = DungeonFrame
- Mode.BackgroundColor3 = Color3.fromRGB(129, 129, 129)
- Mode.BorderSizePixel = 0
- Mode.Position = UDim2.new(0, 10, 0, 65)
- Mode.Size = UDim2.new(0, 180, 0, 20)
- Mode.Font = Enum.Font.GothamSemibold
- Mode.Text = "Classic"
- Mode.TextColor3 = Color3.fromRGB(0, 0, 0)
- Mode.TextSize = 16.000
- PrevMode.Name = "PrevMode"
- PrevMode.Parent = Mode
- PrevMode.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- PrevMode.BackgroundTransparency = 1.000
- PrevMode.Position = UDim2.new(0, -15, 0, 0)
- PrevMode.Size = UDim2.new(0, 15, 0, 20)
- PrevMode.Font = Enum.Font.GothamBold
- PrevMode.Text = "<"
- PrevMode.TextColor3 = Color3.fromRGB(255, 255, 255)
- PrevMode.TextSize = 18.000
- NextMode.Name = "NextMode"
- NextMode.Parent = Mode
- NextMode.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- NextMode.BackgroundTransparency = 1.000
- NextMode.Position = UDim2.new(0, 180, 0, 0)
- NextMode.Size = UDim2.new(0, 15, 0, 20)
- NextMode.Font = Enum.Font.GothamBold
- NextMode.Text = ">"
- NextMode.TextColor3 = Color3.fromRGB(255, 255, 255)
- NextMode.TextSize = 18.000
- Type.Name = "Type"
- Type.Parent = DungeonFrame
- Type.BackgroundColor3 = Color3.fromRGB(129, 129, 129)
- Type.BorderSizePixel = 0
- Type.Position = UDim2.new(0, 10, 0, 95)
- Type.Size = UDim2.new(0, 180, 0, 20)
- Type.Font = Enum.Font.GothamSemibold
- Type.Text = "Solo"
- Type.TextColor3 = Color3.fromRGB(0, 0, 0)
- Type.TextSize = 16.000
- PrevType.Name = "PrevType"
- PrevType.Parent = Type
- PrevType.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- PrevType.BackgroundTransparency = 1.000
- PrevType.Position = UDim2.new(0, -15, 0, 0)
- PrevType.Size = UDim2.new(0, 15, 0, 20)
- PrevType.Font = Enum.Font.GothamBold
- PrevType.Text = "<"
- PrevType.TextColor3 = Color3.fromRGB(255, 255, 255)
- PrevType.TextSize = 18.000
- NextType.Name = "NextType"
- NextType.Parent = Type
- NextType.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- NextType.BackgroundTransparency = 1.000
- NextType.Position = UDim2.new(0, 180, 0, 0)
- NextType.Size = UDim2.new(0, 15, 0, 20)
- NextType.Font = Enum.Font.GothamBold
- NextType.Text = ">"
- NextType.TextColor3 = Color3.fromRGB(255, 255, 255)
- NextType.TextSize = 18.000
- NextDung.MouseButton1Click:Connect(function()
- if Dungeon.Text == "Ancient Jungle" then
- Dungeon.Text = "Coral Kingdom"
- else if Dungeon.Text == "Coral Kingdom" then
- Dungeon.Text = "Crystal Cave"
- else if Dungeon.Text == "Crystal Cave" then
- Dungeon.Text = "Sacred Sands"
- else if Dungeon.Text == "Sacred Sands" then
- Dungeon.Text = "Candy Land"
- else if Dungeon.Text == "Candy Land" then
- Dungeon.Text = "Sinister Sewers"
- else if Dungeon.Text == "Sinister Sewers" then
- Dungeon.Text = "Magical Mushrooms"
- else if Dungeon.Text == "Magical Mushrooms" then
- Dungeon.Text = "Space Base"
- else if Dungeon.Text == "Space Base" then
- Dungeon.Text = "Daring Dojo"
- else if Dungeon.Text == "Daring Dojo" then
- Dungeon.Text = "Cryptic Castle"
- else if Dungeon.Text == "Cryptic Castle" then
- Dungeon.Text = "Ancient Jungle"
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end)
- PrevDung.MouseButton1Click:Connect(function()
- if Dungeon.Text == "Cryptic Castle" then
- Dungeon.Text = "Daring Dojo"
- else if Dungeon.Text == "Daring Dojo" then
- Dungeon.Text = "Space Base"
- else if Dungeon.Text == "Space Base" then
- Dungeon.Text = "Magical Mushrooms"
- else if Dungeon.Text == "Magical Mushrooms" then
- Dungeon.Text = "Sinister Sewers"
- else if Dungeon.Text == "Sinister Sewers" then
- Dungeon.Text = "Candy Land"
- else if Dungeon.Text == "Candy Land" then
- Dungeon.Text = "Sacred Sands"
- else if Dungeon.Text == "Sacred Sands" then
- Dungeon.Text = "Crystal Cave"
- else if Dungeon.Text == "Crystal Cave" then
- Dungeon.Text = "Coral Kingdom"
- else if Dungeon.Text == "Coral Kingdom" then
- Dungeon.Text = "Ancient Jungle"
- else if Dungeon.Text == "Ancient Jungle" then
- Dungeon.Text = "Cryptic Castle"
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end)
- NextDif.MouseButton1Click:Connect(function()
- if Difficulty.Text == "Easy" then
- Difficulty.Text = "Medium"
- else if Difficulty.Text == "Medium" then
- Difficulty.Text = "Hard"
- else if Difficulty.Text == "Hard" then
- Difficulty.Text = "Demon"
- else if Difficulty.Text == "Demon" then
- Difficulty.Text = "Impossible"
- else if Difficulty.Text == "Impossible" then
- Difficulty.Text = "Easy"
- end
- end
- end
- end
- end
- end)
- PrevDif.MouseButton1Click:Connect(function()
- if Difficulty.Text == "Impossible" then
- Difficulty.Text = "Demon"
- else if Difficulty.Text == "Demon" then
- Difficulty.Text = "Hard"
- else if Difficulty.Text == "Hard" then
- Difficulty.Text = "Medium"
- else if Difficulty.Text == "Medium" then
- Difficulty.Text = "Easy"
- else if Difficulty.Text == "Easy" then
- Difficulty.Text = "Impossible"
- end
- end
- end
- end
- end
- end)
- NextMode.MouseButton1Click:Connect(function()
- if Mode.Text == "Classic" then
- Mode.Text = "Endless"
- else if Mode.Text == "Endless" then
- Mode.Text = "Minibosses"
- else if Mode.Text == "Minibosses" then
- Mode.Text = "Uncapped"
- else if Mode.Text == "Uncapped" then
- Mode.Text = "Classic"
- end
- end
- end
- end
- end)
- PrevMode.MouseButton1Click:Connect(function()
- if Mode.Text == "Uncapped" then
- Mode.Text = "Minibosses"
- else if Mode.Text == "Minibosses" then
- Mode.Text = "Endless"
- else if Mode.Text == "Endless" then
- Mode.Text = "Classic"
- else if Mode.Text == "Classic" then
- Mode.Text = "Uncapped"
- end
- end
- end
- end
- end)
- NextType.MouseButton1Click:Connect(function()
- if Type.Text == "Solo" then
- Type.Text = "Friend"
- else if Type.Text == "Friend" then
- Type.Text = "Public"
- else if Type.Text == "Public" then
- Type.Text = "Solo"
- end
- end
- end
- end)
- PrevType.MouseButton1Click:Connect(function()
- if Type.Text == "Public" then
- Type.Text = "Friend"
- else if Type.Text == "Friend" then
- Type.Text = "Solo"
- else if Type.Text == "Solo" then
- Type.Text = "Public"
- end
- end
- end
- end)
- Start.MouseButton1Click:Connect(function()
- game:GetService("ReplicatedStorage").Remotes.Squads.Create:FireServer(Dungeon.Text, Mode.Text, Difficulty.Text, Type.Text)
- game:GetService("ReplicatedStorage").Remotes.Squads.Start:FireServer()
- end)
- local q = Instance.new("ScreenGui", game.CoreGui)
- for i,v in pairs(game:service'Players'.LocalPlayer.PlayerGui.Quests:GetChildren()) do
- if v.Name == "MainFrame" then
- local copy = v:Clone()
- copy.Parent = q
- copy.Size = UDim2.new(0, 300, 0, 200)
- copy.Position = UDim2.new(0, 1300, 0, 450)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement