--[[ ERASED DEX Made by imonstxrz ]] local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local LocalPlayer = Players.LocalPlayer local Mouse = LocalPlayer:GetMouse() local Theme = { Primary = Color3.fromHex("#ff0032"), Background = Color3.fromHex("#050505"), Surface = Color3.fromHex("#0f0f0f"), Card = Color3.fromHex("#141414"), Text = Color3.fromHex("#e5e2e1"), TextDim = Color3.fromHex("#888888"), Border = Color3.fromHex("#1a1a1a") } local State = { NormalFly = false, AnimFly = false, Speed = 16, NoClip = false, TouchFling = false, Attach = false, KillAura = false, TargetLock = false, AntiFling = false, Target = nil, FlyConn = nil, AnimFlyConn = nil, AttachConn = nil, NoClipConn = nil, KillAuraConn = nil, AntiFlingConn = nil } if game.CoreGui:FindFirstChild("ErasedDex") then game.CoreGui.ErasedDex:Destroy() end local Gui = Instance.new("ScreenGui") Gui.Name = "ErasedDex" Gui.ResetOnSpawn = false Gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling Gui.Parent = game.CoreGui local Main = Instance.new("Frame") Main.Size = UDim2.new(0, 340, 0, 660) Main.Position = UDim2.new(0.5, -170, 0.5, -330) Main.BackgroundColor3 = Theme.Background Main.BorderSizePixel = 0 Main.Active = true Main.Draggable = true Main.Parent = Gui Instance.new("UICorner", Main).CornerRadius = UDim.new(0, 8) local Stroke = Instance.new("UIStroke") Stroke.Color = Theme.Primary Stroke.Thickness = 2 Stroke.Parent = Main -- Header local Header = Instance.new("Frame") Header.Size = UDim2.new(1, 0, 0, 78) Header.BackgroundColor3 = Theme.Surface Header.BorderSizePixel = 0 Header.Parent = Main Instance.new("UICorner", Header).CornerRadius = UDim.new(0, 8) local HeaderFix = Instance.new("Frame") HeaderFix.Size = UDim2.new(1, 0, 0, 12) HeaderFix.Position = UDim2.new(0, 0, 1, -12) HeaderFix.BackgroundColor3 = Theme.Surface HeaderFix.BorderSizePixel = 0 HeaderFix.Parent = Header local Logo = Instance.new("TextLabel") Logo.Size = UDim2.new(1, -10, 0, 22) Logo.Position = UDim2.new(0, 5, 0, 8) Logo.BackgroundTransparency = 1 Logo.Text = "welcome to erased menu by imonstxrz" Logo.Font = Enum.Font.GothamBold Logo.TextSize = 13 Logo.TextColor3 = Theme.Primary Logo.TextXAlignment = Enum.TextXAlignment.Center Logo.Parent = Header local Sub = Instance.new("TextLabel") Sub.Size = UDim2.new(1, 0, 0, 20) Sub.Position = UDim2.new(0, 0, 0, 32) Sub.BackgroundTransparency = 1 Sub.Text = "ERASED DEX" Sub.Font = Enum.Font.GothamBlack Sub.TextSize = 20 Sub.TextColor3 = Theme.Primary Sub.Parent = Header local Close = Instance.new("TextButton") Close.Size = UDim2.new(0, 26, 0, 26) Close.Position = UDim2.new(1, -32, 0, 8) Close.BackgroundTransparency = 1 Close.Text = "×" Close.TextColor3 = Theme.Primary Close.TextSize = 20 Close.Font = Enum.Font.GothamBold Close.Parent = Header Close.MouseButton1Click:Connect(function() Gui:Destroy() end) -- Content local Content = Instance.new("ScrollingFrame") Content.Size = UDim2.new(1, -16, 1, -115) Content.Position = UDim2.new(0, 8, 0, 86) Content.BackgroundTransparency = 1 Content.BorderSizePixel = 0 Content.ScrollBarThickness = 3 Content.ScrollBarImageColor3 = Theme.Primary Content.CanvasSize = UDim2.new(0, 0, 0, 950) Content.Parent = Main local List = Instance.new("UIListLayout") List.Padding = UDim.new(0, 8) List.Parent = Content -- Helpers local function Section(text) local l = Instance.new("TextLabel") l.Size = UDim2.new(1, 0, 0, 18) l.BackgroundTransparency = 1 l.Text = text l.Font = Enum.Font.GothamBold l.TextSize = 12 l.TextColor3 = Theme.Primary l.TextXAlignment = Enum.TextXAlignment.Left l.Parent = Content end local function Toggle(name, desc, callback) local frame = Instance.new("Frame") frame.Size = UDim2.new(1, 0, 0, 50) frame.BackgroundColor3 = Theme.Card frame.BorderSizePixel = 0 frame.Parent = Content Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 6) local stroke = Instance.new("UIStroke") stroke.Color = Theme.Border stroke.Thickness = 1 stroke.Parent = frame local title = Instance.new("TextLabel") title.Size = UDim2.new(1, -60, 0, 18) title.Position = UDim2.new(0, 12, 0, 7) title.BackgroundTransparency = 1 title.Text = name title.Font = Enum.Font.GothamMedium title.TextSize = 14 title.TextColor3 = Theme.Text title.TextXAlignment = Enum.TextXAlignment.Left title.Parent = frame local sub = Instance.new("TextLabel") sub.Size = UDim2.new(1, -60, 0, 14) sub.Position = UDim2.new(0, 12, 0, 27) sub.BackgroundTransparency = 1 sub.Text = desc sub.Font = Enum.Font.Gotham sub.TextSize = 11 sub.TextColor3 = Theme.TextDim sub.TextXAlignment = Enum.TextXAlignment.Left sub.Parent = frame local btn = Instance.new("TextButton") btn.Size = UDim2.new(0, 42, 0, 22) btn.Position = UDim2.new(1, -52, 0.5, -11) btn.BackgroundColor3 = Color3.fromRGB(35, 35, 35) btn.Text = "" btn.Parent = frame Instance.new("UICorner", btn).CornerRadius = UDim.new(1, 0) local knob = Instance.new("Frame") knob.Size = UDim2.new(0, 16, 0, 16) knob.Position = UDim2.new(0, 3, 0.5, -8) knob.BackgroundColor3 = Color3.fromRGB(120, 120, 120) knob.BorderSizePixel = 0 knob.Parent = btn Instance.new("UICorner", knob).CornerRadius = UDim.new(1, 0) local on = false btn.MouseButton1Click:Connect(function() on = not on if on then btn.BackgroundColor3 = Theme.Primary knob.Position = UDim2.new(1, -19, 0.5, -8) knob.BackgroundColor3 = Color3.new(1,1,1) stroke.Color = Theme.Primary else btn.BackgroundColor3 = Color3.fromRGB(35, 35, 35) knob.Position = UDim2.new(0, 3, 0.5, -8) knob.BackgroundColor3 = Color3.fromRGB(120, 120, 120) stroke.Color = Theme.Border end callback(on) end) end local function Slider(name, min, max, default, callback) local frame = Instance.new("Frame") frame.Size = UDim2.new(1, 0, 0, 60) frame.BackgroundColor3 = Theme.Card frame.BorderSizePixel = 0 frame.Parent = Content Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 6) local stroke = Instance.new("UIStroke") stroke.Color = Theme.Border stroke.Thickness = 1 stroke.Parent = frame local title = Instance.new("TextLabel") title.Size = UDim2.new(0.7, 0, 0, 18) title.Position = UDim2.new(0, 12, 0, 6) title.BackgroundTransparency = 1 title.Text = name title.Font = Enum.Font.GothamMedium title.TextSize = 14 title.TextColor3 = Theme.Text title.TextXAlignment = Enum.TextXAlignment.Left title.Parent = frame local val = Instance.new("TextLabel") val.Size = UDim2.new(0.25, 0, 0, 18) val.Position = UDim2.new(0.72, 0, 0, 6) val.BackgroundTransparency = 1 val.Text = tostring(default) val.Font = Enum.Font.GothamBold val.TextSize = 13 val.TextColor3 = Theme.Primary val.TextXAlignment = Enum.TextXAlignment.Right val.Parent = frame local bar = Instance.new("Frame") bar.Size = UDim2.new(1, -24, 0, 5) bar.Position = UDim2.new(0, 12, 0, 38) bar.BackgroundColor3 = Color3.fromRGB(30, 30, 30) bar.BorderSizePixel = 0 bar.Parent = frame Instance.new("UICorner", bar).CornerRadius = UDim.new(1, 0) local fill = Instance.new("Frame") fill.Size = UDim2.new((default-min)/(max-min), 0, 1, 0) fill.BackgroundColor3 = Theme.Primary fill.BorderSizePixel = 0 fill.Parent = bar Instance.new("UICorner", fill).CornerRadius = UDim.new(1, 0) local dragging = false bar.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true end end) UserInputService.InputEnded:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end end) UserInputService.InputChanged:Connect(function(i) if dragging and i.UserInputType == Enum.UserInputType.MouseMovement then local rel = math.clamp((i.Position.X - bar.AbsolutePosition.X) / bar.AbsoluteSize.X, 0, 1) local v = math.floor(min + (max-min)*rel) fill.Size = UDim2.new(rel, 0, 1, 0) val.Text = tostring(v) callback(v) end end) end local function Button(name, callback) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, 0, 0, 40) btn.BackgroundColor3 = Theme.Card btn.Text = name btn.Font = Enum.Font.GothamMedium btn.TextSize = 14 btn.TextColor3 = Theme.Text btn.Parent = Content Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 6) local stroke = Instance.new("UIStroke") stroke.Color = Theme.Border stroke.Thickness = 1 stroke.Parent = btn btn.MouseButton1Click:Connect(callback) btn.MouseEnter:Connect(function() stroke.Color = Theme.Primary btn.TextColor3 = Theme.Primary end) btn.MouseLeave:Connect(function() stroke.Color = Theme.Border btn.TextColor3 = Theme.Text end) end -- Player List + Target local PlayerListFrame = nil local SelectedLabel = nil local function SetTarget(plr) State.Target = plr if SelectedLabel then if plr then SelectedLabel.Text = "Selected: " .. plr.Name SelectedLabel.TextColor3 = Theme.Primary else SelectedLabel.Text = "Selected: None" SelectedLabel.TextColor3 = Theme.TextDim end end end local function RefreshPlayerList() if not PlayerListFrame then return end for _, child in ipairs(PlayerListFrame:GetChildren()) do if child:IsA("TextButton") then child:Destroy() end end for _, plr in ipairs(Players:GetPlayers()) do if plr ~= LocalPlayer then local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, -8, 0, 28) btn.BackgroundColor3 = Color3.fromRGB(25, 25, 25) btn.Text = plr.Name btn.Font = Enum.Font.Gotham btn.TextSize = 13 btn.TextColor3 = Theme.Text btn.Parent = PlayerListFrame Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 4) btn.MouseButton1Click:Connect(function() SetTarget(plr) end) end end end -- ====================== -- BUILD UI -- ====================== Section("MOVEMENT") Toggle("Normal Fly", "Classic flight", function(on) State.NormalFly = on if State.AnimFly then return end local char = LocalPlayer.Character if not char then return end local hum = char:FindFirstChildOfClass("Humanoid") local root = char:FindFirstChild("HumanoidRootPart") if not hum or not root then return end if on then hum.PlatformStand = true local bv = Instance.new("BodyVelocity") bv.Name = "ED_Fly" bv.MaxForce = Vector3.new(9e9,9e9,9e9) bv.Velocity = Vector3.zero bv.Parent = root local bg = Instance.new("BodyGyro") bg.Name = "ED_Gyro" bg.MaxTorque = Vector3.new(9e9,9e9,9e9) bg.P = 10000 bg.Parent = root State.FlyConn = RunService.Heartbeat:Connect(function() if not State.NormalFly then return end local cam = workspace.CurrentCamera local dir = Vector3.zero if UserInputService:IsKeyDown(Enum.KeyCode.W) then dir += cam.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.S) then dir -= cam.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.A) then dir -= cam.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.D) then dir += cam.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.Space) then dir += Vector3.yAxis end if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then dir -= Vector3.yAxis end if dir.Magnitude > 0 then dir = dir.Unit * 50 end bv.Velocity = dir bg.CFrame = cam.CFrame end) else if State.FlyConn then State.FlyConn:Disconnect() State.FlyConn = nil end hum.PlatformStand = false if root:FindFirstChild("ED_Fly") then root.ED_Fly:Destroy() end if root:FindFirstChild("ED_Gyro") then root.ED_Gyro:Destroy() end end end) Toggle("Animated Fly", "Fly with cool animation", function(on) State.AnimFly = on if State.NormalFly then return end local char = LocalPlayer.Character if not char then return end local hum = char:FindFirstChildOfClass("Humanoid") local root = char:FindFirstChild("HumanoidRootPart") if not hum or not root then return end if on then hum.PlatformStand = true local bv = Instance.new("BodyVelocity") bv.Name = "ED_AnimFly" bv.MaxForce = Vector3.new(9e9,9e9,9e9) bv.Velocity = Vector3.zero bv.Parent = root local bg = Instance.new("BodyGyro") bg.Name = "ED_AnimGyro" bg.MaxTorque = Vector3.new(9e9,9e9,9e9) bg.P = 3000 bg.Parent = root local angle = 0 State.AnimFlyConn = RunService.Heartbeat:Connect(function(dt) if not State.AnimFly then return end local cam = workspace.CurrentCamera local dir = Vector3.zero if UserInputService:IsKeyDown(Enum.KeyCode.W) then dir += cam.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.S) then dir -= cam.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.A) then dir -= cam.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.D) then dir += cam.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.Space) then dir += Vector3.yAxis end if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then dir -= Vector3.yAxis end if dir.Magnitude > 0 then dir = dir.Unit * 55; angle = angle + dt * 8 else angle = angle + dt * 2 end bv.Velocity = dir bg.CFrame = cam.CFrame * CFrame.Angles(math.rad(math.sin(angle)*15), 0, math.rad(math.cos(angle)*25)) end) else if State.AnimFlyConn then State.AnimFlyConn:Disconnect() State.AnimFlyConn = nil end hum.PlatformStand = false if root:FindFirstChild("ED_AnimFly") then root.ED_AnimFly:Destroy() end if root:FindFirstChild("ED_AnimGyro") then root.ED_AnimGyro:Destroy() end end end) Slider("Speed", 16, 250, 16, function(v) State.Speed = v local char = LocalPlayer.Character if char and char:FindFirstChildOfClass("Humanoid") then char.Humanoid.WalkSpeed = v end end) Toggle("NoClip", "Walk through walls", function(on) State.NoClip = on if on then State.NoClipConn = RunService.Stepped:Connect(function() if not State.NoClip then return end local char = LocalPlayer.Character if char then for _, p in ipairs(char:GetDescendants()) do if p:IsA("BasePart") then p.CanCollide = false end end end end) else if State.NoClipConn then State.NoClipConn:Disconnect() State.NoClipConn = nil end end end) -- Anti Fling Toggle("Anti Fling", "Stops other players from flinging you", function(on) State.AntiFling = on if on then State.AntiFlingConn = RunService.Stepped:Connect(function() if not State.AntiFling then return end for _, plr in ipairs(Players:GetPlayers()) do if plr ~= LocalPlayer and plr.Character then for _, part in ipairs(plr.Character:GetChildren()) do if part:IsA("BasePart") then part.CanCollide = false end end end end end) else if State.AntiFlingConn then State.AntiFlingConn:Disconnect() State.AntiFlingConn = nil end -- Restore collision for _, plr in ipairs(Players:GetPlayers()) do if plr ~= LocalPlayer and plr.Character then for _, part in ipairs(plr.Character:GetChildren()) do if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then part.CanCollide = true end end end end end end) Section("PLAYER LIST") SelectedLabel = Instance.new("TextLabel") SelectedLabel.Size = UDim2.new(1, 0, 0, 20) SelectedLabel.BackgroundTransparency = 1 SelectedLabel.Text = "Selected: None" SelectedLabel.Font = Enum.Font.GothamBold SelectedLabel.TextSize = 13 SelectedLabel.TextColor3 = Theme.TextDim SelectedLabel.TextXAlignment = Enum.TextXAlignment.Left SelectedLabel.Parent = Content PlayerListFrame = Instance.new("ScrollingFrame") PlayerListFrame.Size = UDim2.new(1, 0, 0, 120) PlayerListFrame.BackgroundColor3 = Theme.Card PlayerListFrame.BorderSizePixel = 0 PlayerListFrame.ScrollBarThickness = 3 PlayerListFrame.ScrollBarImageColor3 = Theme.Primary PlayerListFrame.CanvasSize = UDim2.new(0, 0, 0, 0) PlayerListFrame.Parent = Content Instance.new("UICorner", PlayerListFrame).CornerRadius = UDim.new(0, 6) local listLayout = Instance.new("UIListLayout") listLayout.Padding = UDim.new(0, 4) listLayout.Parent = PlayerListFrame listLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function() PlayerListFrame.CanvasSize = UDim2.new(0, 0, 0, listLayout.AbsoluteContentSize.Y + 8) end) local listPad = Instance.new("UIPadding") listPad.PaddingTop = UDim.new(0, 4) listPad.PaddingLeft = UDim.new(0, 4) listPad.PaddingRight = UDim.new(0, 4) listPad.Parent = PlayerListFrame RefreshPlayerList() Players.PlayerAdded:Connect(function() task.wait(0.3) RefreshPlayerList() end) Players.PlayerRemoving:Connect(function() task.wait(0.1) RefreshPlayerList() if State.Target and not State.Target.Parent then SetTarget(nil) end end) Button("Refresh Player List", function() RefreshPlayerList() end) Section("ACTIONS") Toggle("Target Lock", "Auto lock when you click near someone", function(on) State.TargetLock = on end) UserInputService.InputBegan:Connect(function(input, gp) if gp or not State.TargetLock then return end if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end local char = LocalPlayer.Character if not char then return end local root = char:FindFirstChild("HumanoidRootPart") if not root then return end local cam = workspace.CurrentCamera local ray = cam:ScreenPointToRay(Mouse.X, Mouse.Y) local params = RaycastParams.new() params.FilterDescendantsInstances = {char} params.FilterType = Enum.RaycastFilterType.Exclude local result = workspace:Raycast(ray.Origin, ray.Direction * 50, params) if result and result.Instance then local model = result.Instance:FindFirstAncestorOfClass("Model") if model then local plr = Players:GetPlayerFromCharacter(model) if plr and plr ~= LocalPlayer then SetTarget(plr) return end end end local closest, dist = nil, 12 local look = root.CFrame.LookVector for _, plr in ipairs(Players:GetPlayers()) do if plr ~= LocalPlayer and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then local other = plr.Character.HumanoidRootPart local toOther = (other.Position - root.Position) local d = toOther.Magnitude if d < dist and toOther.Unit:Dot(look) > 0.4 then dist = d closest = plr end end end if closest then SetTarget(closest) end end) Toggle("Touch Fling", "Fling players on touch", function(on) State.TouchFling = on if not ReplicatedStorage:FindFirstChild("juisdfj0i32i0eidsuf0iok") then local detection = Instance.new("Decal") detection.Name = "juisdfj0i32i0eidsuf0iok" detection.Parent = ReplicatedStorage end if on then task.spawn(function() local movel = 0.1 while State.TouchFling do RunService.Heartbeat:Wait() local c = LocalPlayer.Character local hrp = c and c:FindFirstChild("HumanoidRootPart") if hrp then local vel = hrp.Velocity hrp.Velocity = vel * 10000 + Vector3.new(0, 10000, 0) RunService.RenderStepped:Wait() hrp.Velocity = vel RunService.Stepped:Wait() hrp.Velocity = vel + Vector3.new(0, movel, 0) movel = -movel end end end) end end) Toggle("Attach", "Attach to selected player", function(on) State.Attach = on if on then if not State.Target then return end State.AttachConn = RunService.Heartbeat:Connect(function() if not State.Attach or not State.Target or not State.Target.Character then return end local my = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") local tr = State.Target.Character:FindFirstChild("HumanoidRootPart") if my and tr then my.CFrame = tr.CFrame * CFrame.new(0, 0, 2.5) end end) else if State.AttachConn then State.AttachConn:Disconnect() State.AttachConn = nil end end end) Button("Teleport to Selected", function() if not State.Target or not State.Target.Character then return end local my = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") local tr = State.Target.Character:FindFirstChild("HumanoidRootPart") if my and tr then my.CFrame = tr.CFrame * CFrame.new(0, 0, 3) end end) Toggle("Kill Aura", "Damage nearby players", function(on) State.KillAura = on if on then State.KillAuraConn = RunService.Heartbeat:Connect(function() if not State.KillAura then return end local myRoot = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") if not myRoot then return end for _, plr in ipairs(Players:GetPlayers()) do if plr ~= LocalPlayer and plr.Character then local hum = plr.Character:FindFirstChildOfClass("Humanoid") local root = plr.Character:FindFirstChild("HumanoidRootPart") if hum and root and hum.Health > 0 then local dist = (myRoot.Position - root.Position).Magnitude if dist <= 15 then pcall(function() hum:TakeDamage(10) end) end end end end end) else if State.KillAuraConn then State.KillAuraConn:Disconnect() State.KillAuraConn = nil end end end) -- Footer local Footer = Instance.new("Frame") Footer.Size = UDim2.new(1, 0, 0, 28) Footer.Position = UDim2.new(0, 0, 1, -28) Footer.BackgroundColor3 = Theme.Surface Footer.BorderSizePixel = 0 Footer.Parent = Main local credit = Instance.new("TextLabel") credit.Size = UDim2.new(1, 0, 1, 0) credit.BackgroundTransparency = 1 credit.Text = "script made by imonstxrz" credit.Font = Enum.Font.Gotham credit.TextSize = 12 credit.TextColor3 = Theme.Primary credit.Parent = Footer LocalPlayer.CharacterAdded:Connect(function(char) task.wait(0.5) local hum = char:FindFirstChildOfClass("Humanoid") if hum then hum.WalkSpeed = State.Speed end end) print("[ERASED DEX] Loaded - Made by imonstxrz | Anti Fling added")