local Ps = game:GetService("Players") local RS = game:GetService("ReplicatedStorage") local TS = game:GetService("TweenService") local UI = game:GetService("UserInputService") local Lp = Ps.LocalPlayer local Ar = RS.Remotes.ArrestPlayer local Md = 50 local Rd = 0.1 local Tw = true local Cd = false local Mn = false local SG = Instance.new("ScreenGui") SG.Name = "ModernArrestGUI" SG.ResetOnSpawn = false SG.ZIndexBehavior = Enum.ZIndexBehavior.Sibling SG.Parent = Lp:WaitForChild("PlayerGui") local MF = Instance.new("Frame") MF.Name = "MainFrame" MF.Size = UDim2.new(0, 320, 0, 320) MF.Position = UDim2.new(0.5, -160, 0.5, -160) MF.BackgroundColor3 = Color3.fromRGB(20, 20, 30) MF.BackgroundTransparency = 0.1 MF.BorderSizePixel = 0 MF.Active = true MF.Draggable = true MF.ClipsDescendants = true MF.Parent = SG local MC = Instance.new("UICorner") MC.CornerRadius = UDim.new(0, 20) MC.Parent = MF local GR = Instance.new("UIGradient") GR.Color = ColorSequence.new{ ColorSequenceKeypoint.new(0, Color3.fromRGB(45, 45, 70)), ColorSequenceKeypoint.new(1, Color3.fromRGB(20, 20, 35)) } GR.Rotation = 135 GR.Parent = MF local BG = Instance.new("UIStroke") BG.Color = Color3.fromRGB(100, 150, 255) BG.Thickness = 2 BG.Transparency = 0.3 BG.Parent = MF task.spawn(function() while true do local gt = TS:Create(BG, TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true), { Transparency = 0.8 }) gt:Play() task.wait(1000) end end) local HD = Instance.new("Frame") HD.Name = "Header" HD.Size = UDim2.new(1, 0, 0, 70) HD.BackgroundColor3 = Color3.fromRGB(35, 35, 55) HD.BackgroundTransparency = 0.3 HD.BorderSizePixel = 0 HD.Parent = MF local HC = Instance.new("UICorner") HC.CornerRadius = UDim.new(0, 20) HC.Parent = HD local HG = Instance.new("UIGradient") HG.Color = ColorSequence.new{ ColorSequenceKeypoint.new(0, Color3.fromRGB(80, 120, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(120, 80, 255)) } HG.Rotation = 45 HG.Parent = HD local TI = Instance.new("TextLabel") TI.Size = UDim2.new(0, 50, 0, 50) TI.Position = UDim2.new(0, 15, 0.5, -25) TI.BackgroundTransparency = 1 TI.Text = "🚔" TI.TextSize = 35 TI.Font = Enum.Font.GothamBold TI.Parent = HD local TT = Instance.new("TextLabel") TT.Size = UDim2.new(1, -130, 1, 0) TT.Position = UDim2.new(0, 70, 0, 0) TT.BackgroundTransparency = 1 TT.Text = "Auto Arrest System" TT.TextColor3 = Color3.fromRGB(255, 255, 255) TT.TextSize = 22 TT.Font = Enum.Font.GothamBold TT.TextXAlignment = Enum.TextXAlignment.Left TT.Parent = HD local ST = Instance.new("TextLabel") ST.Size = UDim2.new(1, -130, 0, 20) ST.Position = UDim2.new(0, 70, 0, 40) ST.BackgroundTransparency = 1 ST.Text = "v3.0 - Premium Edition" ST.TextColor3 = Color3.fromRGB(180, 180, 200) ST.TextSize = 11 ST.Font = Enum.Font.Gotham ST.TextXAlignment = Enum.TextXAlignment.Left ST.Parent = HD local MB = Instance.new("TextButton") MB.Size = UDim2.new(0, 40, 0, 40) MB.Position = UDim2.new(1, -50, 0, 15) MB.BackgroundColor3 = Color3.fromRGB(50, 50, 70) MB.BorderSizePixel = 0 MB.Text = "−" MB.TextColor3 = Color3.fromRGB(255, 255, 255) MB.TextSize = 30 MB.Font = Enum.Font.GothamBold MB.AutoButtonColor = false MB.Parent = HD local MBC = Instance.new("UICorner") MBC.CornerRadius = UDim.new(0, 10) MBC.Parent = MB local CF = Instance.new("Frame") CF.Name = "ContentFrame" CF.Size = UDim2.new(1, -30, 1, -90) CF.Position = UDim2.new(0, 15, 0, 80) CF.BackgroundTransparency = 1 CF.Parent = MF local MCF = Instance.new("Frame") MCF.Size = UDim2.new(1, 0, 0, 70) MCF.BackgroundColor3 = Color3.fromRGB(30, 30, 45) MCF.BorderSizePixel = 0 MCF.Parent = CF local MCC = Instance.new("UICorner") MCC.CornerRadius = UDim.new(0, 15) MCC.Parent = MCF local MTT = Instance.new("TextLabel") MTT.Size = UDim2.new(1, 0, 0, 25) MTT.BackgroundTransparency = 1 MTT.Text = "✈️ Teleport Mode" MTT.TextColor3 = Color3.fromRGB(255, 255, 255) MTT.TextSize = 14 MTT.Font = Enum.Font.GothamBold MTT.Parent = MCF local TB = Instance.new("TextButton") TB.Size = UDim2.new(0.48, 0, 0, 35) TB.Position = UDim2.new(0.02, 0, 0, 32) TB.BackgroundColor3 = Color3.fromRGB(52, 152, 219) TB.BorderSizePixel = 0 TB.Text = "🌊 Smooth" TB.TextColor3 = Color3.fromRGB(255, 255, 255) TB.TextSize = 14 TB.Font = Enum.Font.GothamBold TB.AutoButtonColor = false TB.Parent = MCF local TBC = Instance.new("UICorner") TBC.CornerRadius = UDim.new(0, 10) TBC.Parent = TB local IB = Instance.new("TextButton") IB.Size = UDim2.new(0.48, 0, 0, 35) IB.Position = UDim2.new(0.5, 0, 0, 32) IB.BackgroundColor3 = Color3.fromRGB(60, 60, 75) IB.BorderSizePixel = 0 IB.Text = "⚡ Instant" IB.TextColor3 = Color3.fromRGB(200, 200, 200) IB.TextSize = 14 IB.Font = Enum.Font.GothamBold IB.AutoButtonColor = false IB.Parent = MCF local IBC = Instance.new("UICorner") IBC.CornerRadius = UDim.new(0, 10) IBC.Parent = IB local AB = Instance.new("TextButton") AB.Size = UDim2.new(1, 0, 0, 80) AB.Position = UDim2.new(0, 0, 0, 80) AB.BackgroundColor3 = Color3.fromRGB(40, 167, 69) AB.BorderSizePixel = 0 AB.Text = "" AB.AutoButtonColor = false AB.Visible = true AB.Parent = CF local ABC = Instance.new("UICorner") ABC.CornerRadius = UDim.new(0, 15) ABC.Parent = AB local AG = Instance.new("UIGradient") AG.Color = ColorSequence.new{ ColorSequenceKeypoint.new(0, Color3.fromRGB(40, 167, 69)), ColorSequenceKeypoint.new(1, Color3.fromRGB(30, 130, 50)) } AG.Rotation = 90 AG.Parent = AB local AI = Instance.new("TextLabel") AI.Size = UDim2.new(0, 50, 0, 50) AI.Position = UDim2.new(0, 15, 0.5, -25) AI.BackgroundTransparency = 1 AI.Text = "👮" AI.TextSize = 40 AI.Parent = AB local AT = Instance.new("TextLabel") AT.Size = UDim2.new(1, -80, 1, 0) AT.Position = UDim2.new(0, 70, 0, 0) AT.BackgroundTransparency = 1 AT.Text = "Arrest All Criminals" AT.TextColor3 = Color3.fromRGB(255, 255, 255) AT.TextSize = 20 AT.Font = Enum.Font.GothamBold AT.TextXAlignment = Enum.TextXAlignment.Left AT.TextYAlignment = Enum.TextYAlignment.Center AT.Parent = AB local AS = Instance.new("TextLabel") AS.Size = UDim2.new(1, -80, 0, 20) AS.Position = UDim2.new(0, 70, 0, 45) AS.BackgroundTransparency = 1 AS.Text = "Click to execute" AS.TextColor3 = Color3.fromRGB(200, 255, 200) AS.TextSize = 12 AS.Font = Enum.Font.Gotham AS.TextXAlignment = Enum.TextXAlignment.Left AS.Parent = AB local NC = Instance.new("Frame") NC.Size = UDim2.new(1, 0, 0, 80) NC.Position = UDim2.new(0, 0, 0, 80) NC.BackgroundColor3 = Color3.fromRGB(60, 60, 75) NC.BorderSizePixel = 0 NC.Visible = false NC.Parent = CF local NCC = Instance.new("UICorner") NCC.CornerRadius = UDim.new(0, 15) NCC.Parent = NC local NG = Instance.new("UIGradient") NG.Color = ColorSequence.new{ ColorSequenceKeypoint.new(0, Color3.fromRGB(70, 70, 85)), ColorSequenceKeypoint.new(1, Color3.fromRGB(50, 50, 65)) } NG.Rotation = 90 NG.Parent = NC local NI = Instance.new("TextLabel") NI.Size = UDim2.new(0, 50, 0, 50) NI.Position = UDim2.new(0, 15, 0.5, -25) NI.BackgroundTransparency = 1 NI.Text = "🚫" NI.TextSize = 40 NI.Parent = NC local NTT = Instance.new("TextLabel") NTT.Size = UDim2.new(1, -80, 0, 25) NTT.Position = UDim2.new(0, 70, 0, 15) NTT.BackgroundTransparency = 1 NTT.Text = "No Criminals Found" NTT.TextColor3 = Color3.fromRGB(255, 255, 255) NTT.TextSize = 18 NTT.Font = Enum.Font.GothamBold NTT.TextXAlignment = Enum.TextXAlignment.Left NTT.Parent = NC local NTS = Instance.new("TextLabel") NTS.Size = UDim2.new(1, -80, 0, 35) NTS.Position = UDim2.new(0, 70, 0, 38) NTS.BackgroundTransparency = 1 NTS.Text = "Button disabled: No criminals\navailable to arrest" NTS.TextColor3 = Color3.fromRGB(180, 180, 200) NTS.TextSize = 11 NTS.Font = Enum.Font.Gotham NTS.TextXAlignment = Enum.TextXAlignment.Left NTS.TextWrapped = true NTS.Parent = NC local WC = Instance.new("Frame") WC.Size = UDim2.new(1, 0, 0, 70) WC.Position = UDim2.new(0, 0, 0, 170) WC.BackgroundColor3 = Color3.fromRGB(139, 0, 0) WC.BorderSizePixel = 0 WC.Parent = CF local WCC = Instance.new("UICorner") WCC.CornerRadius = UDim.new(0, 15) WCC.Parent = WC local WS = Instance.new("UIStroke") WS.Color = Color3.fromRGB(255, 215, 0) WS.Thickness = 2 WS.Parent = WC local WI = Instance.new("TextLabel") WI.Size = UDim2.new(0, 40, 1, 0) WI.BackgroundTransparency = 1 WI.Text = "⚠️" WI.TextSize = 30 WI.Parent = WC local WT = Instance.new("TextLabel") WT.Size = UDim2.new(1, -50, 1, 0) WT.Position = UDim2.new(0, 45, 0, 0) WT.BackgroundTransparency = 1 WT.Text = "WARNING!\nDO NOT spam the arrest button\nor you will be BANNED!" WT.TextColor3 = Color3.fromRGB(255, 255, 0) WT.TextSize = 12 WT.Font = Enum.Font.GothamBold WT.TextWrapped = true WT.TextXAlignment = Enum.TextXAlignment.Left WT.TextYAlignment = Enum.TextYAlignment.Center WT.Parent = WC task.spawn(function() while true do local fl = TS:Create(WS, TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true), { Transparency = 0.5 }) fl:Play() task.wait(1000) end end) local function Np() local pl = {} local Ch = Lp.Character local Lh = Ch and Ch:FindFirstChild("HumanoidRootPart") if not Lh then return pl end for _, Pl in ipairs(Ps:GetPlayers()) do if Pl ~= Lp then local Tc = Pl.Character local Th = Tc and Tc:FindFirstChild("HumanoidRootPart") if Th then local Di = (Lh.Position - Th.Position).Magnitude if Di <= Md then table.insert(pl, Pl) end end end end return pl end local function Gc() local cr = {} for _, pl in ipairs(Ps:GetPlayers()) do if pl ~= Lp and pl.Team and pl.Team.Name == "Criminals" then local ch = pl.Character if ch and ch:FindFirstChild("HumanoidRootPart") then table.insert(cr, pl) end end end return cr end local function Tp(tp) local Ch = Lp.Character local Lh = Ch and Ch:FindFirstChild("HumanoidRootPart") local Tc = tp.Character local Th = Tc and Tc:FindFirstChild("HumanoidRootPart") if Lh and Th then if Tw then local td = 1.5 local st = tick() local cn cn = game:GetService("RunService").Heartbeat:Connect(function() local el = tick() - st local al = math.min(el / td, 1) if Th and Th.Parent then local tg = Th.CFrame * CFrame.new(0, 0, 0.3) if al < 1 then Lh.CFrame = Lh.CFrame:Lerp(tg, al * 0.1) else Lh.CFrame = tg cn:Disconnect() end else cn:Disconnect() end end) task.wait(td) else local td = 3 local st = tick() local cn cn = game:GetService("RunService").Heartbeat:Connect(function() local el = tick() - st if Th and Th.Parent and el < td then local tg = Th.CFrame * CFrame.new(0, 0, 0.3) Lh.CFrame = tg else cn:Disconnect() end end) task.wait(td) end end end local function Ap(pl) local ag = {[1] = pl} pcall(function() Ar:InvokeServer(unpack(ag)) end) end task.spawn(function() while true do local Tg = Np() if #Tg > 0 then local Ri = math.random(1, #Tg) local Tp = Tg[Ri] Ap(Tp) end task.wait(Rd) end end) TB.MouseButton1Click:Connect(function() Tw = true TB.BackgroundColor3 = Color3.fromRGB(52, 152, 219) TB.TextColor3 = Color3.fromRGB(255, 255, 255) IB.BackgroundColor3 = Color3.fromRGB(60, 60, 75) IB.TextColor3 = Color3.fromRGB(200, 200, 200) local sc = TS:Create(TB, TweenInfo.new(0.1), {Size = UDim2.new(0.5, 0, 0, 35)}) sc:Play() sc.Completed:Wait() local s2 = TS:Create(TB, TweenInfo.new(0.1), {Size = UDim2.new(0.48, 0, 0, 35)}) s2:Play() end) IB.MouseButton1Click:Connect(function() Tw = false IB.BackgroundColor3 = Color3.fromRGB(52, 152, 219) IB.TextColor3 = Color3.fromRGB(255, 255, 255) TB.BackgroundColor3 = Color3.fromRGB(60, 60, 75) TB.TextColor3 = Color3.fromRGB(200, 200, 200) local sc = TS:Create(IB, TweenInfo.new(0.1), {Size = UDim2.new(0.5, 0, 0, 35)}) sc:Play() sc.Completed:Wait() local s2 = TS:Create(IB, TweenInfo.new(0.1), {Size = UDim2.new(0.48, 0, 0, 35)}) s2:Play() end) AB.MouseButton1Click:Connect(function() if Cd then return end Cd = true local st = TS:Create(AB, TweenInfo.new(0.1), {Size = UDim2.new(0.95, 0, 0, 75)}) st:Play() st.Completed:Wait() local ht = TS:Create(AB, TweenInfo.new(0.3), { BackgroundTransparency = 1, Size = UDim2.new(1, 0, 0, 0) }) TS:Create(AI, TweenInfo.new(0.3), {TextTransparency = 1}):Play() TS:Create(AT, TweenInfo.new(0.3), {TextTransparency = 1}):Play() TS:Create(AS, TweenInfo.new(0.3), {TextTransparency = 1}):Play() TS:Create(AG, TweenInfo.new(0.3), {Offset = Vector2.new(0, -1)}):Play() ht:Play() ht.Completed:Wait() task.spawn(function() local cr = Gc() if #cr > 0 then local rc = cr[math.random(1, #cr)] Tp(rc) for i = 1, 30 do Ap(rc) task.wait(Rd) end end end) task.wait(5) AB.Size = UDim2.new(1, 0, 0, 0) local sh = TS:Create(AB, TweenInfo.new(0.3), { BackgroundTransparency = 0, Size = UDim2.new(1, 0, 0, 80) }) TS:Create(AI, TweenInfo.new(0.3), {TextTransparency = 0}):Play() TS:Create(AT, TweenInfo.new(0.3), {TextTransparency = 0}):Play() TS:Create(AS, TweenInfo.new(0.3), {TextTransparency = 0}):Play() TS:Create(AG, TweenInfo.new(0.3), {Offset = Vector2.new(0, 0)}):Play() sh:Play() sh.Completed:Wait() Cd = false end) MB.MouseButton1Click:Connect(function() Mn = not Mn if Mn then MB.Text = "+" local tw = TS:Create(MF, TweenInfo.new(0.3, Enum.EasingStyle.Quad), { Size = UDim2.new(0, 320, 0, 70) }) tw:Play() local tw2 = TS:Create(CF, TweenInfo.new(0.3), { BackgroundTransparency = 1 }) tw2:Play() for _, v in ipairs(CF:GetChildren()) do if v:IsA("GuiObject") then TS:Create(v, TweenInfo.new(0.3), {BackgroundTransparency = 1}):Play() for _, c in ipairs(v:GetDescendants()) do if c:IsA("TextLabel") or c:IsA("TextButton") then TS:Create(c, TweenInfo.new(0.3), {TextTransparency = 1}):Play() end if c:IsA("UIStroke") then TS:Create(c, TweenInfo.new(0.3), {Transparency = 1}):Play() end end end end else MB.Text = "−" local tw = TS:Create(MF, TweenInfo.new(0.3, Enum.EasingStyle.Quad), { Size = UDim2.new(0, 320, 0, 320) }) tw:Play() task.wait(0.2) local tw2 = TS:Create(CF, TweenInfo.new(0.3), { BackgroundTransparency = 0 }) tw2:Play() for _, v in ipairs(CF:GetChildren()) do if v:IsA("GuiObject") then TS:Create(v, TweenInfo.new(0.3), {BackgroundTransparency = 0}):Play() for _, c in ipairs(v:GetDescendants()) do if c:IsA("TextLabel") or c:IsA("TextButton") then TS:Create(c, TweenInfo.new(0.3), {TextTransparency = 0}):Play() end if c:IsA("UIStroke") and c.Parent.Name == "WarningContainer" then TS:Create(c, TweenInfo.new(0.3), {Transparency = 0}):Play() end end end end end end) if UI.TouchEnabled then MF.Size = UDim2.new(0, 300, 0, 310) MF.Position = UDim2.new(0.5, -150, 0.5, -155) TT.TextSize = 20 AT.TextSize = 18 WT.TextSize = 11 end