-- Adi Anti-Bang -- CREDITS: Made by OREOO_1249 AKA ADI local Players = game:GetService("Players") local RunService = game:GetService("RunService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local LocalPlayer = Players.LocalPlayer -- UI Setup local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "AdiAntiBangClassicDist" ScreenGui.Parent = game.CoreGui ScreenGui.ResetOnSpawn = false -- Global State local AntiBangActive = false local IsInVoid = false local SavedPosition = nil local SafeDownVoid = Vector3.new(0, -400, 0) local OldGoodDistance = 1.7 -- Reverted to the distance you liked -- UI: ADI Circle local OpenCloseBtn = Instance.new("TextButton", ScreenGui) OpenCloseBtn.Size = UDim2.new(0, 65, 0, 65) OpenCloseBtn.Position = UDim2.new(0, 50, 0.5, -32) OpenCloseBtn.Text = "ADI" OpenCloseBtn.BackgroundColor3 = Color3.fromRGB(75, 0, 130) OpenCloseBtn.TextColor3 = Color3.fromRGB(255, 255, 255) OpenCloseBtn.Font = Enum.Font.GothamBold OpenCloseBtn.TextSize = 20 OpenCloseBtn.ZIndex = 9999 Instance.new("UICorner", OpenCloseBtn).CornerRadius = UDim.new(1, 0) Instance.new("UIStroke", OpenCloseBtn).Thickness = 2 -- UI: Menu local MainFrame = Instance.new("Frame", ScreenGui) MainFrame.Visible = false MainFrame.Size = UDim2.new(0, 220, 0, 110) MainFrame.Position = UDim2.new(0.5, -110, 0.5, -55) MainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) MainFrame.ZIndex = 10000 Instance.new("UICorner", MainFrame) local ToggleBtn = Instance.new("TextButton", MainFrame) ToggleBtn.Size = UDim2.new(0, 180, 0, 50) ToggleBtn.Position = UDim2.new(0.5, -90, 0.5, -25) ToggleBtn.Text = "CLICK TO ACTIVATE" ToggleBtn.BackgroundColor3 = Color3.fromRGB(150, 0, 0) ToggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255) ToggleBtn.Font = Enum.Font.GothamBold ToggleBtn.TextSize = 14 ToggleBtn.ZIndex = 10001 Instance.new("UICorner", ToggleBtn) -- Toggle Logic (Manual Deactivation to Return) OpenCloseBtn.MouseButton1Click:Connect(function() MainFrame.Visible = not MainFrame.Visible end) ToggleBtn.MouseButton1Click:Connect(function() AntiBangActive = not AntiBangActive local char = LocalPlayer.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") if AntiBangActive then ToggleBtn.Text = "CLICK TO DEACTIVATE" ToggleBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 0) else ToggleBtn.Text = "CLICK TO ACTIVATE" ToggleBtn.BackgroundColor3 = Color3.fromRGB(150, 0, 0) -- Return to map only when deactivating if IsInVoid and hrp and SavedPosition then hrp.Anchored = false hrp.CFrame = SavedPosition IsInVoid = false SavedPosition = nil end end end) -- INTRO SEQUENCE local IntroFrame = Instance.new("Frame", ScreenGui) IntroFrame.Size = UDim2.new(1, 0, 1, 0) IntroFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) IntroFrame.ZIndex = 11000 local IntroText = Instance.new("TextLabel", IntroFrame) IntroText.Size = UDim2.new(1, 0, 1, 0) IntroText.BackgroundTransparency = 1 IntroText.TextColor3 = Color3.fromRGB(255, 255, 255) IntroText.Font = Enum.Font.Code IntroText.TextSize = 25 IntroText.Text = "" IntroText.ZIndex = 11001 task.spawn(function() local lines = {"Made by OREOO_1249 AKA ADI", "REVERTED TO CLASSIC DISTANCE"} for _, line in pairs(lines) do for i = 1, #line do IntroText.Text = line:sub(1, i) task.wait(0.04) end task.wait(0.7) end TweenService:Create(IntroFrame, TweenInfo.new(1), {BackgroundTransparency = 1}):Play() TweenService:Create(IntroText, TweenInfo.new(1), {TextTransparency = 1}):Play() task.wait(1) IntroFrame:Destroy() end) -- PROTECTION CORE RunService.Heartbeat:Connect(function() if not AntiBangActive or IsInVoid then return end local char = LocalPlayer.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") if not hrp then return end for _, other in pairs(Players:GetPlayers()) do if other ~= LocalPlayer and other.Character and other.Character:FindFirstChild("HumanoidRootPart") then local otherHrp = other.Character.HumanoidRootPart local dist = (hrp.Position - otherHrp.Position).Magnitude -- Using the old 1.7 distance you preferred if dist < OldGoodDistance and otherHrp.Velocity.Magnitude > 1 then IsInVoid = true SavedPosition = hrp.CFrame -- GLITCH THE BANGER task.spawn(function() local banger = otherHrp for i = 1, 45 do -- Increased glitch frames if banger and banger.Parent then banger.Velocity = Vector3.new(math.random(-10^6, 10^6), -10^7, math.random(-10^6, 10^6)) task.wait() end end end) -- GO DOWN AND STAY hrp.CFrame = CFrame.new(SafeDownVoid) task.wait(0.1) hrp.Anchored = true end end end end) -- Draggable UI local dragging, dragStart, startPos OpenCloseBtn.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true; dragStart = input.Position; startPos = OpenCloseBtn.Position end end) UserInputService.InputChanged:Connect(function(input) if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then local delta = input.Position - dragStart OpenCloseBtn.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false end end)