local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local TweenService = game:GetService("TweenService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local flying = false local infiniteJump = false local noclip = false local espEnabled = false local flySpeed = 50 local walkSpeed = 16 local MIN_FLY_SPEED = 10 local MAX_FLY_SPEED = 500 local MIN_WALK_SPEED = 16 local MAX_WALK_SPEED = 200 local ROT_SPEED_FACTOR = 20 local character local humanoid local root local attachment local lv local ao local espObjects = {} local oldGui = playerGui:FindFirstChild("XDXDsFly") if oldGui then oldGui:Destroy() end local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "XDXDsFly" ScreenGui.ResetOnSpawn = false ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling ScreenGui.Parent = playerGui local MainFrame = Instance.new("Frame") MainFrame.Size = UDim2.fromOffset(250, 360) MainFrame.Position = UDim2.new(0.5, -125, 0.12, 0) MainFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 20) MainFrame.BackgroundTransparency = 0.12 MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.Parent = ScreenGui local Corner = Instance.new("UICorner") Corner.CornerRadius = UDim.new(0, 12) Corner.Parent = MainFrame local UIStroke = Instance.new("UIStroke") UIStroke.Thickness = 2.5 UIStroke.Parent = MainFrame local UIGradient = Instance.new("UIGradient") UIGradient.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 0, 255)), ColorSequenceKeypoint.new(0.5, Color3.fromRGB(0, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 255)) }) UIGradient.Parent = UIStroke local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, 0, 0, 36) Title.Position = UDim2.fromOffset(0, 5) Title.BackgroundTransparency = 1 Title.Text = "XDXD'S PANEL" Title.Font = Enum.Font.FredokaOne Title.TextSize = 24 Title.TextColor3 = Color3.new(1, 1, 1) Title.Parent = MainFrame local SubTitle = Instance.new("TextLabel") SubTitle.Size = UDim2.new(1, 0, 0, 16) SubTitle.Position = UDim2.fromOffset(0, 35) SubTitle.BackgroundTransparency = 1 SubTitle.Text = "FLIGHT / MOVEMENT / VISUALS" SubTitle.Font = Enum.Font.GothamBold SubTitle.TextSize = 8 SubTitle.TextColor3 = Color3.fromRGB(145, 145, 155) SubTitle.Parent = MainFrame local function createSpeedRow(y, text, value) local frame = Instance.new("Frame") frame.Size = UDim2.new(0.88, 0, 0, 34) frame.Position = UDim2.new(0.06, 0, 0, y) frame.BackgroundTransparency = 1 frame.Parent = MainFrame local minus = Instance.new("TextButton") minus.Size = UDim2.new(0.21, 0, 1, 0) minus.Text = "-" minus.TextSize = 19 minus.Font = Enum.Font.GothamBold minus.TextColor3 = Color3.new(1, 1, 1) minus.BackgroundColor3 = Color3.fromRGB(30, 30, 40) minus.AutoButtonColor = false minus.Parent = frame local minusCorner = Instance.new("UICorner") minusCorner.CornerRadius = UDim.new(0, 6) minusCorner.Parent = minus local label = Instance.new("TextLabel") label.Size = UDim2.new(0.58, 0, 1, 0) label.Position = UDim2.new(0.21, 0, 0, 0) label.BackgroundTransparency = 1 label.Text = text .. ": " .. value label.Font = Enum.Font.GothamBold label.TextSize = 11 label.TextColor3 = Color3.new(1, 1, 1) label.Parent = frame local plus = Instance.new("TextButton") plus.Size = UDim2.new(0.21, 0, 1, 0) plus.Position = UDim2.new(0.79, 0, 0, 0) plus.Text = "+" plus.TextSize = 19 plus.Font = Enum.Font.GothamBold plus.TextColor3 = Color3.new(1, 1, 1) plus.BackgroundColor3 = Color3.fromRGB(30, 30, 40) plus.AutoButtonColor = false plus.Parent = frame local plusCorner = Instance.new("UICorner") plusCorner.CornerRadius = UDim.new(0, 6) plusCorner.Parent = plus return minus, plus, label end local FlyMinus, FlyPlus, FlySpeedLabel = createSpeedRow(58, "FLY SPEED", flySpeed) local WalkMinus, WalkPlus, WalkSpeedLabel = createSpeedRow(98, "WALKSPEED", walkSpeed) local function createButton(name, text, y) local button = Instance.new("TextButton") button.Name = name button.Size = UDim2.new(0.88, 0, 0, 38) button.Position = UDim2.new(0.06, 0, 0, y) button.BackgroundColor3 = Color3.fromRGB(30, 30, 40) button.Text = text button.TextColor3 = Color3.new(1, 1, 1) button.TextSize = 12 button.Font = Enum.Font.GothamBold button.AutoButtonColor = false button.Parent = MainFrame local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 7) corner.Parent = button local stroke = Instance.new("UIStroke") stroke.Thickness = 1.4 stroke.Color = Color3.fromRGB(55, 55, 70) stroke.Parent = button return button, stroke end local FlyButton, FlyStroke = createButton("Fly", "FLY: OFF", 140) local JumpButton, JumpStroke = createButton("InfiniteJump", "INFINITE JUMP: OFF", 184) local NoclipButton, NoclipStroke = createButton("Noclip", "NOCLIP: OFF", 228) local ESPButton, ESPStroke = createButton("ESP", "ESP: OFF", 272) local StatusLabel = Instance.new("TextLabel") StatusLabel.Size = UDim2.new(0.88, 0, 0, 20) StatusLabel.Position = UDim2.new(0.06, 0, 0, 319) StatusLabel.BackgroundTransparency = 1 StatusLabel.Text = "READY" StatusLabel.Font = Enum.Font.GothamBold StatusLabel.TextSize = 8 StatusLabel.TextColor3 = Color3.fromRGB(100, 255, 190) StatusLabel.Parent = MainFrame local function updateSpeedLabels() FlySpeedLabel.Text = "FLY SPEED: " .. flySpeed WalkSpeedLabel.Text = "WALKSPEED: " .. walkSpeed end FlyMinus.MouseButton1Click:Connect(function() flySpeed = math.max(MIN_FLY_SPEED, flySpeed - 10) updateSpeedLabels() end) FlyPlus.MouseButton1Click:Connect(function() flySpeed = math.min(MAX_FLY_SPEED, flySpeed + 10) updateSpeedLabels() end) WalkMinus.MouseButton1Click:Connect(function() if walkSpeed <= 20 then walkSpeed = 16 else walkSpeed = walkSpeed - 10 end if humanoid then humanoid.WalkSpeed = walkSpeed end updateSpeedLabels() end) WalkPlus.MouseButton1Click:Connect(function() if walkSpeed == 16 then walkSpeed = 20 else walkSpeed = math.min(MAX_WALK_SPEED, walkSpeed + 10) end if humanoid then humanoid.WalkSpeed = walkSpeed end updateSpeedLabels() end) local function getCharacter() character = player.Character or player.CharacterAdded:Wait() humanoid = character:WaitForChild("Humanoid") root = character:WaitForChild("HumanoidRootPart") humanoid.WalkSpeed = walkSpeed end getCharacter() local function stopFlyPhysics() if lv then lv:Destroy() lv = nil end if ao then ao:Destroy() ao = nil end if attachment then attachment:Destroy() attachment = nil end if humanoid then humanoid.PlatformStand = false humanoid.WalkSpeed = walkSpeed end end local function setupPhysics() task.defer(function() character = player.Character or player.CharacterAdded:Wait() humanoid = character:WaitForChild("Humanoid") root = character:WaitForChild("HumanoidRootPart") if not flying or not root then return end stopFlyPhysics() humanoid.PlatformStand = true attachment = Instance.new("Attachment") attachment.Parent = root lv = Instance.new("LinearVelocity") lv.MaxForce = math.huge lv.VectorVelocity = Vector3.zero lv.Attachment0 = attachment lv.RelativeTo = Enum.ActuatorRelativeTo.World lv.Parent = root ao = Instance.new("AlignOrientation") ao.MaxTorque = math.huge ao.Responsiveness = 200 ao.RigidityEnabled = false ao.Mode = Enum.OrientationAlignmentMode.OneAttachment ao.Attachment0 = attachment ao.Parent = root StatusLabel.Text = "FLIGHT ACTIVE" end) end local PlayerModule = require(player.PlayerScripts:WaitForChild("PlayerModule")) local Controls = PlayerModule:GetControls() local function setFly(state) flying = state if flying then FlyButton.Text = "FLY: ON" FlyButton.BackgroundColor3 = Color3.fromRGB(30, 55, 45) FlyStroke.Color = Color3.fromRGB(0, 255, 150) setupPhysics() else FlyButton.Text = "FLY: OFF" FlyButton.BackgroundColor3 = Color3.fromRGB(30, 30, 40) FlyStroke.Color = Color3.fromRGB(55, 55, 70) stopFlyPhysics() StatusLabel.Text = "READY" end end FlyButton.MouseButton1Click:Connect(function() setFly(not flying) end) JumpButton.MouseButton1Click:Connect(function() infiniteJump = not infiniteJump if infiniteJump then JumpButton.Text = "INFINITE JUMP: ON" JumpButton.BackgroundColor3 = Color3.fromRGB(30, 55, 45) JumpStroke.Color = Color3.fromRGB(0, 255, 150) else JumpButton.Text = "INFINITE JUMP: OFF" JumpButton.BackgroundColor3 = Color3.fromRGB(30, 30, 40) JumpStroke.Color = Color3.fromRGB(55, 55, 70) end end) UserInputService.JumpRequest:Connect(function() if infiniteJump and humanoid then humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end end) NoclipButton.MouseButton1Click:Connect(function() noclip = not noclip if noclip then NoclipButton.Text = "NOCLIP: ON" NoclipButton.BackgroundColor3 = Color3.fromRGB(30, 55, 45) NoclipStroke.Color = Color3.fromRGB(0, 255, 150) else NoclipButton.Text = "NOCLIP: OFF" NoclipButton.BackgroundColor3 = Color3.fromRGB(30, 30, 40) NoclipStroke.Color = Color3.fromRGB(55, 55, 70) if character then for _, object in ipairs(character:GetDescendants()) do if object:IsA("BasePart") then object.CanCollide = true end end end end end) local function removeESP(target) local data = espObjects[target] if data then if data.highlight then data.highlight:Destroy() end if data.billboard then data.billboard:Destroy() end espObjects[target] = nil end end local function createESP(target) if target == player or espObjects[target] then return end local targetCharacter = target.Character if not targetCharacter then return end local targetRoot = targetCharacter:FindFirstChild("HumanoidRootPart") if not targetRoot then return end local highlight = Instance.new("Highlight") highlight.Name = "XDXD_ESP" highlight.Adornee = targetCharacter highlight.FillColor = Color3.fromRGB(255, 0, 255) highlight.FillTransparency = 0.65 highlight.OutlineColor = Color3.fromRGB(0, 255, 255) highlight.OutlineTransparency = 0 highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop highlight.Parent = targetCharacter local billboard = Instance.new("BillboardGui") billboard.Name = "XDXD_ESP_Info" billboard.Adornee = targetRoot billboard.Size = UDim2.fromOffset(180, 45) billboard.StudsOffset = Vector3.new(0, 3.2, 0) billboard.AlwaysOnTop = true billboard.Parent = targetCharacter local label = Instance.new("TextLabel") label.Size = UDim2.fromScale(1, 1) label.BackgroundTransparency = 1 label.TextColor3 = Color3.new(1, 1, 1) label.TextStrokeTransparency = 0 label.TextStrokeColor3 = Color3.new(0, 0, 0) label.Font = Enum.Font.GothamBold label.TextSize = 12 label.Parent = billboard espObjects[target] = { highlight = highlight, billboard = billboard, label = label } end local function clearESP() for target in pairs(espObjects) do removeESP(target) end end ESPButton.MouseButton1Click:Connect(function() espEnabled = not espEnabled if espEnabled then ESPButton.Text = "ESP: ON" ESPButton.BackgroundColor3 = Color3.fromRGB(30, 55, 45) ESPStroke.Color = Color3.fromRGB(0, 255, 150) for _, target in ipairs(Players:GetPlayers()) do createESP(target) end else ESPButton.Text = "ESP: OFF" ESPButton.BackgroundColor3 = Color3.fromRGB(30, 30, 40) ESPStroke.Color = Color3.fromRGB(55, 55, 70) clearESP() end end) Players.PlayerAdded:Connect(function(target) target.CharacterAdded:Connect(function() if espEnabled then task.wait(0.5) createESP(target) end end) end) Players.PlayerRemoving:Connect(function(target) removeESP(target) end) RunService.RenderStepped:Connect(function(deltaTime) UIGradient.Rotation = (tick() * 120) % 360 Title.TextColor3 = Color3.fromHSV((tick() % 5) / 5, 0.4, 1) if humanoid and not flying then humanoid.WalkSpeed = walkSpeed end if noclip and character then for _, object in ipairs(character:GetDescendants()) do if object:IsA("BasePart") then object.CanCollide = false end end end if flying and root and humanoid and lv and ao and workspace.CurrentCamera then local camera = workspace.CurrentCamera local moveVector = Controls:GetMoveVector() local targetDirection = Vector3.zero if moveVector.Magnitude > 0 then targetDirection = (camera.CFrame.LookVector * -moveVector.Z) + (camera.CFrame.RightVector * moveVector.X) end if moveVector.Y ~= 0 then targetDirection = targetDirection + Vector3.new(0, moveVector.Y, 0) end if targetDirection.Magnitude > 0 then lv.VectorVelocity = targetDirection.Unit * flySpeed else lv.VectorVelocity = Vector3.zero end local alpha = 1 - math.exp(-ROT_SPEED_FACTOR * deltaTime) ao.CFrame = ao.CFrame:Lerp(camera.CFrame, alpha) end if espEnabled and root then for target, data in pairs(espObjects) do if target.Character and target.Character:FindFirstChild("HumanoidRootPart") then local targetRoot = target.Character.HumanoidRootPart local distance = (root.Position - targetRoot.Position).Magnitude data.label.Text = target.Name .. "\n[" .. math.floor(distance) .. " studs]" end end end end) player.CharacterAdded:Connect(function(newCharacter) character = newCharacter humanoid = newCharacter:WaitForChild("Humanoid") root = newCharacter:WaitForChild("HumanoidRootPart") humanoid.WalkSpeed = walkSpeed if flying then task.wait(0.5) setupPhysics() end if noclip then task.wait(0.1) for _, object in ipairs(character:GetDescendants()) do if object:IsA("BasePart") then object.CanCollide = false end end end if espEnabled then task.wait(0.5) for _, target in ipairs(Players:GetPlayers()) do if target ~= player then createESP(target) end end end end) local dragging = false local dragStart local startPosition MainFrame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPosition = MainFrame.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 MainFrame.Position = UDim2.new( startPosition.X.Scale, startPosition.X.Offset + delta.X, startPosition.Y.Scale, startPosition.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) updateSpeedLabels()