--// Services local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local Workspace = game:GetService("Workspace") local player = Players.LocalPlayer --// GUI local gui = Instance.new("ScreenGui") gui.Name = "MainMenuGUI" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") local frame = Instance.new("Frame") frame.Size = UDim2.fromOffset(350, 340) frame.Position = UDim2.new(1, -20, 0, 20) frame.AnchorPoint = Vector2.new(1, 0) frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) frame.BorderSizePixel = 0 frame.ClipsDescendants = true frame.Parent = gui Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 10) local stroke = Instance.new("UIStroke", frame) stroke.Color = Color3.fromRGB(90, 90, 90) --// Helpers local function makeLabel(text, y) local lbl = Instance.new("TextLabel") lbl.BackgroundTransparency = 1 lbl.Size = UDim2.new(1, -100, 0, 30) lbl.Position = UDim2.fromOffset(15, y) lbl.Font = Enum.Font.Gotham lbl.TextSize = 18 lbl.TextColor3 = Color3.new(1,1,1) lbl.TextXAlignment = Enum.TextXAlignment.Left lbl.Text = text lbl.Parent = frame return lbl end local function makeSwitch(y) local btn = Instance.new("TextButton") btn.Size = UDim2.fromOffset(52, 28) btn.Position = UDim2.new(1, -70, 0, y) btn.BackgroundColor3 = Color3.fromRGB(55,55,55) btn.Text = "" btn.AutoButtonColor = false btn.Parent = frame Instance.new("UICorner", btn).CornerRadius = UDim.new(1,0) local knob = Instance.new("Frame") knob.Size = UDim2.fromOffset(22,22) knob.Position = UDim2.fromOffset(3,3) knob.BackgroundColor3 = Color3.new(1,1,1) knob.Parent = btn Instance.new("UICorner", knob).CornerRadius = UDim.new(1,0) return btn, knob end local function animate(sw, knob, state) local goal = state and Color3.fromRGB(0,200,70) or Color3.fromRGB(55,55,55) local pos = state and UDim2.fromOffset(27,3) or UDim2.fromOffset(3,3) TweenService:Create(sw, TweenInfo.new(0.2), { BackgroundColor3 = goal }):Play() TweenService:Create(knob, TweenInfo.new(0.2), { Position = pos }):Play() end --//////////////////////////////////////////////////////////// --// MINIMIZE --//////////////////////////////////////////////////////////// local minimized = false local savedSize = frame.Size local function setVisible(state) for _, obj in ipairs(frame:GetDescendants()) do if obj:IsA("GuiObject") and obj ~= frame then if obj.Name ~= "MinBtn" then obj.Visible = state end end end end local minBtn = Instance.new("TextButton") minBtn.Name = "MinBtn" minBtn.Size = UDim2.fromOffset(24,24) minBtn.Position = UDim2.fromOffset(8,6) minBtn.BackgroundColor3 = Color3.fromRGB(45,45,45) minBtn.Text = "−" minBtn.TextColor3 = Color3.new(1,1,1) minBtn.Font = Enum.Font.GothamBold minBtn.TextSize = 16 minBtn.Parent = frame Instance.new("UICorner", minBtn) minBtn.MouseButton1Click:Connect(function() minimized = not minimized if minimized then minBtn.Text = "+" setVisible(false) frame:TweenSize(UDim2.fromOffset(350, 50), "Out", "Quad", 0.2, true) else minBtn.Text = "−" frame:TweenSize(savedSize, "Out", "Quad", 0.2, true) task.wait(0.2) setVisible(true) end end) --//////////////////////////////////////////////////////////// --// SPEED --//////////////////////////////////////////////////////////// local SpeedEnabled = false local function applySpeed() local char = player.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum then hum.WalkSpeed = 150 end end local function resetSpeed() local char = player.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum then hum.WalkSpeed = 16 end end player.CharacterAdded:Connect(function() task.wait(0.2) if SpeedEnabled then applySpeed() end end) --//////////////////////////////////////////////////////////// --// ESP --//////////////////////////////////////////////////////////// local ESPEnabled = false local espObjects = {} local function getTeamColor(plr) return (plr.Team and plr.Team.TeamColor and plr.Team.TeamColor.Color) or Color3.fromRGB(255,255,255) end local function createESP(char, plr) if espObjects[char] then return end local h = Instance.new("Highlight") h.Adornee = char h.FillTransparency = 0.5 h.OutlineTransparency = 0 h.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop h.Parent = char local function update() local c = getTeamColor(plr) h.FillColor = c h.OutlineColor = c end update() plr:GetPropertyChangedSignal("Team"):Connect(update) espObjects[char] = h end local function clearESP() for char, h in pairs(espObjects) do if h then h:Destroy() end espObjects[char] = nil end table.clear(espObjects) end task.spawn(function() while true do if ESPEnabled then for _, plr in ipairs(Players:GetPlayers()) do if plr ~= player and plr.Character then createESP(plr.Character, plr) end end end task.wait(1) end end) --//////////////////////////////////////////////////////////// --// TRAP ESP --//////////////////////////////////////////////////////////// local TrapEnabled = false local trapESP = {} local validNames = { BearTrap = true, CurseCircle = true, ObservingGoop = true } local function highlightTrap(obj) if trapESP[obj] then return end if not obj:IsA("BasePart") then return end if not validNames[obj.Name] then return end local h = Instance.new("Highlight") h.Adornee = obj h.FillColor = Color3.fromRGB(255, 140, 0) h.OutlineColor = Color3.fromRGB(255, 255, 255) h.FillTransparency = 0.4 h.OutlineTransparency = 0 h.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop h.Parent = obj trapESP[obj] = h end local function clearTraps() for obj, h in pairs(trapESP) do if h then h:Destroy() end trapESP[obj] = nil end table.clear(trapESP) end task.spawn(function() while true do if TrapEnabled then for _, folder in ipairs(Workspace:GetChildren()) do if folder:IsA("Folder") and folder.Name == "Entities" then for _, obj in ipairs(folder:GetDescendants()) do highlightTrap(obj) end end end end task.wait(1) end end) --//////////////////////////////////////////////////////////// --// GET FLAG --//////////////////////////////////////////////////////////// local function getDroppedFlags() local flags = {} for _, folder in ipairs(Workspace:GetChildren()) do if folder:IsA("Folder") and folder.Name == "Entities" then for _, obj in ipairs(folder:GetDescendants()) do if obj:IsA("Model") and obj.Name == "DroppedFlag" then table.insert(flags, obj) end end end end return flags end makeLabel("Get Flag", 200) local flagBtn = Instance.new("TextButton") flagBtn.Size = UDim2.fromOffset(120, 30) flagBtn.Position = UDim2.new(1, -140, 0, 205) flagBtn.BackgroundColor3 = Color3.fromRGB(60,60,60) flagBtn.Text = "Click me" flagBtn.TextColor3 = Color3.new(1,1,1) flagBtn.Font = Enum.Font.GothamBold flagBtn.TextSize = 16 flagBtn.Parent = frame Instance.new("UICorner", flagBtn) flagBtn.MouseButton1Click:Connect(function() local char = player.Character if not char then return end local hrp = char:FindFirstChild("HumanoidRootPart") if not hrp then return end local originalCF = hrp.CFrame local flags = getDroppedFlags() task.spawn(function() for i = 1, 3 do for _, flag in ipairs(flags) do if flag and flag.Parent then char:PivotTo(flag:GetPivot()) task.wait(0.15) end end end task.wait(0.1) char:PivotTo(originalCF) end) end) --//////////////////////////////////////////////////////////// --// Aimbot --//////////////////////////////////////////////////////////// makeLabel("Aimbot", 245) local aimBtn = Instance.new("TextButton") aimBtn.Size = UDim2.fromOffset(120, 30) aimBtn.Position = UDim2.new(1, -140, 0, 250) aimBtn.BackgroundColor3 = Color3.fromRGB(60,60,60) aimBtn.Text = "Click me" aimBtn.TextColor3 = Color3.new(1,1,1) aimBtn.Font = Enum.Font.GothamBold aimBtn.TextSize = 16 aimBtn.Parent = frame Instance.new("UICorner", aimBtn) aimBtn.MouseButton1Click:Connect(function() loadstring(game:HttpGet("https://pastebin.com/raw/7X7YAR88"))() end) --//////////////////////////////////////////////////////////// --// Flight --//////////////////////////////////////////////////////////// makeLabel("Flight", 285) local flightBtn = Instance.new("TextButton") flightBtn.Size = UDim2.fromOffset(120, 30) flightBtn.Position = UDim2.new(1, -140, 0, 290) flightBtn.BackgroundColor3 = Color3.fromRGB(60,60,60) flightBtn.Text = "Click me" flightBtn.TextColor3 = Color3.new(1,1,1) flightBtn.Font = Enum.Font.GothamBold flightBtn.TextSize = 16 flightBtn.Parent = frame Instance.new("UICorner", flightBtn) flightBtn.MouseButton1Click:Connect(function() loadstring(game:HttpGet("https://pastebin.com/raw/WE1CufP9"))() end) --//////////////////////////////////////////////////////////// --// UI TOGGLES --//////////////////////////////////////////////////////////// makeLabel("ESP", 40) local espSw, espKnob = makeSwitch(45) espSw.MouseButton1Click:Connect(function() ESPEnabled = not ESPEnabled animate(espSw, espKnob, ESPEnabled) if not ESPEnabled then clearESP() end end) makeLabel("Trap ESP", 100) local trapSw, trapKnob = makeSwitch(105) trapSw.MouseButton1Click:Connect(function() TrapEnabled = not TrapEnabled animate(trapSw, trapKnob, TrapEnabled) if not TrapEnabled then clearTraps() end end) makeLabel("Speed", 160) local speedSw, speedKnob = makeSwitch(165) speedSw.MouseButton1Click:Connect(function() SpeedEnabled = not SpeedEnabled animate(speedSw, speedKnob, SpeedEnabled) if SpeedEnabled then task.spawn(function() while SpeedEnabled do applySpeed() task.wait(0.1) end end) else resetSpeed() end end) --//////////////////////////////////////////////////////////// --// CLOSE --//////////////////////////////////////////////////////////// local close = Instance.new("TextButton") close.Size = UDim2.fromOffset(90, 32) close.Position = UDim2.new(1, -100, 1, -40) close.BackgroundColor3 = Color3.fromRGB(45,45,45) close.Text = "Close" close.TextColor3 = Color3.new(1,1,1) close.Font = Enum.Font.GothamBold close.TextSize = 18 close.Parent = frame Instance.new("UICorner", close) close.MouseButton1Click:Connect(function() clearESP() clearTraps() gui:Destroy() end)