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 aimbot = false local flySpeed = 50 local walkSpeed = 16 local radius = 250 local pull = 5 local MIN_FLY_SPEED = 10 local MAX_FLY_SPEED = 500 local MIN_WALK_SPEED = 16 local MAX_WALK_SPEED = 200 local MAX_AIM_DISTANCE = 450 local ROT_SPEED_FACTOR = 20 local character local humanoid local root local attachment local lv local ao local espObjects = {} local target = nil local oldGui = playerGui:FindFirstChild("MegaXDXDPack") if oldGui then oldGui:Destroy() end local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "MegaXDXDPack" ScreenGui.ResetOnSpawn = false ScreenGui.IgnoreGuiInset = true ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling ScreenGui.Parent = playerGui local OpenButton = Instance.new("TextButton") OpenButton.Name = "OpenButton" OpenButton.Size = UDim2.fromOffset(48, 48) OpenButton.Position = UDim2.new(0.5, -24, 0.12, 0) OpenButton.BackgroundColor3 = Color3.fromRGB(15, 15, 20) OpenButton.BackgroundTransparency = 0.05 OpenButton.BorderSizePixel = 0 OpenButton.Text = "XD" OpenButton.TextColor3 = Color3.new(1, 1, 1) OpenButton.TextSize = 15 OpenButton.Font = Enum.Font.GothamBold OpenButton.AutoButtonColor = false OpenButton.Active = true OpenButton.ZIndex = 20 OpenButton.Parent = ScreenGui local OpenCorner = Instance.new("UICorner") OpenCorner.CornerRadius = UDim.new(1, 0) OpenCorner.Parent = OpenButton local OpenStroke = Instance.new("UIStroke") OpenStroke.Thickness = 2.5 OpenStroke.Parent = OpenButton local OpenGradient = Instance.new("UIGradient") OpenGradient.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)) }) OpenGradient.Parent = OpenStroke local MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.Size = UDim2.fromOffset(280, 590) MainFrame.Position = UDim2.new(0.5, 32, 0.12, 0) MainFrame.BackgroundColor3 = Color3.fromRGB(14, 14, 19) MainFrame.BackgroundTransparency = 0.08 MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.Visible = false MainFrame.Parent = ScreenGui local MainCorner = Instance.new("UICorner") MainCorner.CornerRadius = UDim.new(0, 13) MainCorner.Parent = MainFrame local MainStroke = Instance.new("UIStroke") MainStroke.Thickness = 2.5 MainStroke.Parent = MainFrame local MainGradient = Instance.new("UIGradient") MainGradient.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)) }) MainGradient.Parent = MainStroke local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, 0, 0, 38) Title.Position = UDim2.fromOffset(0, 5) Title.BackgroundTransparency = 1 Title.Text = "MEGA XDXD PACK" Title.Font = Enum.Font.FredokaOne Title.TextSize = 23 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, 38) SubTitle.BackgroundTransparency = 1 SubTitle.Text = "MOVEMENT • AIM • 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.2, 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 mc = Instance.new("UICorner") mc.CornerRadius = UDim.new(0, 6) mc.Parent = minus local label = Instance.new("TextLabel") label.Size = UDim2.new(0.6, 0, 1, 0) label.Position = UDim2.new(0.2, 0, 0, 0) label.BackgroundTransparency = 1 label.Text = text .. ": " .. value label.Font = Enum.Font.GothamBold label.TextSize = 10 label.TextColor3 = Color3.new(1, 1, 1) label.Parent = frame local plus = Instance.new("TextButton") plus.Size = UDim2.new(0.2, 0, 1, 0) plus.Position = UDim2.new(0.8, 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 pc = Instance.new("UICorner") pc.CornerRadius = UDim.new(0, 6) pc.Parent = plus return minus, plus, label end local FlyMinus, FlyPlus, FlyLabel = createSpeedRow(60, "FLY SPEED", flySpeed) local WalkMinus, WalkPlus, WalkLabel = createSpeedRow(100, "WALKSPEED", walkSpeed) local RadiusMinus, RadiusPlus, RadiusLabel = createSpeedRow(140, "FOV RADIUS", radius) local PullMinus, PullPlus, PullLabel = createSpeedRow(180, "PULL", pull) local function createToggle(y, name) local button = Instance.new("TextButton") 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 = name .. ": OFF" button.TextColor3 = Color3.new(1, 1, 1) button.TextSize = 11 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 = createToggle(220, "FLY") local JumpButton, JumpStroke = createToggle(264, "INFINITE JUMP") local NoclipButton, NoclipStroke = createToggle(308, "NOCLIP") local AimButton, AimStroke = createToggle(352, "AIMBOT") local ESPButton, ESPStroke = createToggle(396, "ESP") local Status = Instance.new("TextLabel") Status.Size = UDim2.new(0.88, 0, 0, 20) Status.Position = UDim2.new(0.06, 0, 0, 444) Status.BackgroundTransparency = 1 Status.Text = "READY" Status.Font = Enum.Font.GothamBold Status.TextSize = 8 Status.TextColor3 = Color3.fromRGB(100, 255, 190) Status.Parent = MainFrame local Info = Instance.new("TextLabel") Info.Size = UDim2.new(0.88, 0, 0, 70) Info.Position = UDim2.new(0.06, 0, 0, 475) Info.BackgroundTransparency = 1 Info.Text = "FLY: MOBILE JOYSTICK + SPACE / SHIFT\nAIM: CENTER FOV • MAX 450 STUDS\nESP: PLAYER NAMES + HIGHLIGHT" Info.Font = Enum.Font.GothamBold Info.TextSize = 8 Info.TextColor3 = Color3.fromRGB(120, 120, 135) Info.TextXAlignment = Enum.TextXAlignment.Center Info.TextYAlignment = Enum.TextYAlignment.Top Info.Parent = MainFrame local FOVCircle = Instance.new("Frame") FOVCircle.Name = "AimbotFOV" FOVCircle.AnchorPoint = Vector2.new(0.5, 0.5) FOVCircle.Size = UDim2.fromOffset(radius * 2, radius * 2) FOVCircle.BackgroundTransparency = 1 FOVCircle.Visible = false FOVCircle.ZIndex = 4 FOVCircle.Parent = ScreenGui local FOVCorner = Instance.new("UICorner") FOVCorner.CornerRadius = UDim.new(1, 0) FOVCorner.Parent = FOVCircle local FOVStroke = Instance.new("UIStroke") FOVStroke.Thickness = 1.5 FOVStroke.Color = Color3.fromRGB(0, 255, 220) FOVStroke.Transparency = 0.1 FOVStroke.Parent = FOVCircle local TargetDot = Instance.new("Frame") TargetDot.Size = UDim2.fromOffset(7, 7) TargetDot.AnchorPoint = Vector2.new(0.5, 0.5) TargetDot.BackgroundColor3 = Color3.fromRGB(255, 50, 100) TargetDot.BorderSizePixel = 0 TargetDot.Visible = false TargetDot.ZIndex = 8 TargetDot.Parent = ScreenGui local DotCorner = Instance.new("UICorner") DotCorner.CornerRadius = UDim.new(1, 0) DotCorner.Parent = TargetDot local function setToggle(button, stroke, name, state) if state then button.Text = name .. ": ON" button.BackgroundColor3 = Color3.fromRGB(30, 55, 45) stroke.Color = Color3.fromRGB(0, 255, 150) else button.Text = name .. ": OFF" button.BackgroundColor3 = Color3.fromRGB(30, 30, 40) stroke.Color = Color3.fromRGB(55, 55, 70) end end local function updateLabels() FlyLabel.Text = "FLY SPEED: " .. flySpeed WalkLabel.Text = "WALKSPEED: " .. walkSpeed RadiusLabel.Text = "FOV RADIUS: " .. radius PullLabel.Text = "PULL: " .. pull FOVCircle.Size = UDim2.fromOffset(radius * 2, radius * 2) end FlyMinus.MouseButton1Click:Connect(function() flySpeed = math.max(MIN_FLY_SPEED, flySpeed - 10) updateLabels() end) FlyPlus.MouseButton1Click:Connect(function() flySpeed = math.min(MAX_FLY_SPEED, flySpeed + 10) updateLabels() end) WalkMinus.MouseButton1Click:Connect(function() if walkSpeed <= 20 then walkSpeed = 16 else walkSpeed = walkSpeed - 10 end if humanoid then humanoid.WalkSpeed = walkSpeed end updateLabels() 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 updateLabels() end) RadiusMinus.MouseButton1Click:Connect(function() radius = math.max(50, radius - 25) updateLabels() end) RadiusPlus.MouseButton1Click:Connect(function() radius = math.min(600, radius + 25) updateLabels() end) PullMinus.MouseButton1Click:Connect(function() pull = math.max(0, pull - 1) updateLabels() end) PullPlus.MouseButton1Click:Connect(function() pull = math.min(10, pull + 1) updateLabels() 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 Status.Text = "FLIGHT ACTIVE" end) end local PlayerModule = require(player.PlayerScripts:WaitForChild("PlayerModule")) local Controls = PlayerModule:GetControls() FlyButton.MouseButton1Click:Connect(function() flying = not flying setToggle(FlyButton, FlyStroke, "FLY", flying) if flying then setupPhysics() else stopFlyPhysics() Status.Text = "READY" end end) JumpButton.MouseButton1Click:Connect(function() infiniteJump = not infiniteJump setToggle(JumpButton, JumpStroke, "INFINITE JUMP", infiniteJump) end) UserInputService.JumpRequest:Connect(function() if infiniteJump and humanoid then humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end end) NoclipButton.MouseButton1Click:Connect(function() noclip = not noclip setToggle(NoclipButton, NoclipStroke, "NOCLIP", noclip) if not noclip and character then for _, object in ipairs(character:GetDescendants()) do if object:IsA("BasePart") then object.CanCollide = true end end end end) AimButton.MouseButton1Click:Connect(function() aimbot = not aimbot setToggle(AimButton, AimStroke, "AIMBOT", aimbot) FOVCircle.Visible = aimbot if aimbot then Status.Text = "AIMBOT ACTIVE" else Status.Text = "READY" target = nil TargetDot.Visible = false end end) local function removeESP(other) local data = espObjects[other] if data then if data.highlight then data.highlight:Destroy() end if data.billboard then data.billboard:Destroy() end espObjects[other] = nil end end local function validCharacter(char) if not char then return false end local hum = char:FindFirstChildOfClass("Humanoid") local hrp = char:FindFirstChild("HumanoidRootPart") return hum and hrp and hum.Health > 0 end local function createESP(other) if other == player or espObjects[other] then return end local char = other.Character if not validCharacter(char) then return end local hrp = char:FindFirstChild("HumanoidRootPart") if not hrp then return end local highlight = Instance.new("Highlight") highlight.Name = "MegaXDXD_ESP" highlight.Adornee = char highlight.FillColor = Color3.fromRGB(255, 0, 120) highlight.FillTransparency = 0.65 highlight.OutlineColor = Color3.fromRGB(0, 255, 255) highlight.OutlineTransparency = 0 highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop highlight.Parent = char local billboard = Instance.new("BillboardGui") billboard.Name = "MegaXDXD_Name" billboard.Adornee = hrp billboard.Size = UDim2.fromOffset(220, 45) billboard.StudsOffset = Vector3.new(0, 3.5, 0) billboard.AlwaysOnTop = true billboard.MaxDistance = MAX_AIM_DISTANCE billboard.Parent = char local label = Instance.new("TextLabel") label.Name = "PlayerName" label.Size = UDim2.fromScale(1, 1) label.BackgroundTransparency = 1 label.Text = other.DisplayName .. " @" .. other.Name label.TextColor3 = Color3.fromRGB(255, 255, 255) label.TextStrokeColor3 = Color3.fromRGB(0, 0, 0) label.TextStrokeTransparency = 0 label.Font = Enum.Font.GothamBold label.TextSize = 13 label.Parent = billboard espObjects[other] = { highlight = highlight, billboard = billboard, label = label } end local function refreshESP() if not espEnabled then for other in pairs(espObjects) do removeESP(other) end return end for _, other in ipairs(Players:GetPlayers()) do if other ~= player then if not espObjects[other] then createESP(other) end end end for other in pairs(espObjects) do if not other.Parent then removeESP(other) elseif not validCharacter(other.Character) then removeESP(other) end end end ESPButton.MouseButton1Click:Connect(function() espEnabled = not espEnabled setToggle(ESPButton, ESPStroke, "ESP", espEnabled) if espEnabled then refreshESP() end end) Players.PlayerAdded:Connect(function(other) other.CharacterAdded:Connect(function() task.wait(0.3) if espEnabled then createESP(other) end end) end) Players.PlayerRemoving:Connect(function(other) removeESP(other) end) local function isVisible(char, part) local camera = workspace.CurrentCamera if not camera then return false end local origin = camera.CFrame.Position local direction = part.Position - origin local params = RaycastParams.new() params.FilterType = Enum.RaycastFilterType.Exclude params.IgnoreWater = true local filter = {} if player.Character then table.insert(filter, player.Character) end params.FilterDescendantsInstances = filter local result = workspace:Raycast( origin, direction, params ) if not result then return true end return result.Instance:IsDescendantOf(char) end local function getClosestTarget() local camera = workspace.CurrentCamera if not camera then return nil end local viewport = camera.ViewportSize local center = Vector2.new( viewport.X / 2, viewport.Y / 2 ) local closest = nil local closestDistance = radius for _, other in ipairs(Players:GetPlayers()) do if other ~= player then local char = other.Character if validCharacter(char) then local head = char:FindFirstChild("Head") local hrp = char:FindFirstChild("HumanoidRootPart") local part = head or hrp if part then local worldDistance = (camera.CFrame.Position - part.Position).Magnitude if worldDistance <= MAX_AIM_DISTANCE then local screenPos, visible = camera:WorldToViewportPoint(part.Position) if visible and screenPos.Z > 0 then local point = Vector2.new( screenPos.X, screenPos.Y ) local distance = (point - center).Magnitude if distance <= closestDistance then if isVisible(char, part) then closestDistance = distance closest = part end end end end end end end end return closest end RunService.RenderStepped:Connect(function(deltaTime) local camera = workspace.CurrentCamera if not camera then return end MainGradient.Rotation = (tick() * 120) % 360 OpenGradient.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 FOVCircle.Position = UDim2.fromOffset( camera.ViewportSize.X / 2, camera.ViewportSize.Y / 2 ) FOVCircle.Size = UDim2.fromOffset( radius * 2, radius * 2 ) FOVCircle.Visible = aimbot if flying and root and humanoid and lv and ao then local moveVector = Controls:GetMoveVector() local direction = Vector3.zero if moveVector.Magnitude > 0 then direction = (camera.CFrame.LookVector * -moveVector.Z) + (camera.CFrame.RightVector * moveVector.X) end if math.abs(moveVector.Y) > 0 then direction = direction + Vector3.new(0, moveVector.Y, 0) end if UserInputService:IsKeyDown(Enum.KeyCode.Space) then direction += Vector3.new(0, 1, 0) elseif UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) then direction += Vector3.new(0, -1, 0) end if direction.Magnitude > 0 then lv.VectorVelocity = direction.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 aimbot then target = getClosestTarget() if target and target.Parent then local screenPos = camera:WorldToViewportPoint(target.Position) TargetDot.Position = UDim2.fromOffset( screenPos.X, screenPos.Y ) TargetDot.Visible = true if pull > 0 then local strength = pull / 10 local alpha = 1 - math.exp( -strength * 35 * deltaTime ) local desired = CFrame.lookAt( camera.CFrame.Position, target.Position ) camera.CFrame = camera.CFrame:Lerp( desired, math.clamp(alpha, 0, 1) ) end else TargetDot.Visible = false end else TargetDot.Visible = false end if espEnabled then for other, data in pairs(espObjects) do if other.Character then local hrp = other.Character:FindFirstChild("HumanoidRootPart") if hrp and root then local distance = (root.Position - hrp.Position).Magnitude data.label.Text = other.DisplayName .. " @" .. other.Name .. "\n[" .. math.floor(distance) .. " studs]" end 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.3) 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.3) for _, other in ipairs(Players:GetPlayers()) do if other ~= player then createESP(other) end end end end) local panelOpen = false local function setPanel(state) panelOpen = state MainFrame.Visible = state if state then MainFrame.Position = UDim2.new(0.5, 32, 0.12, 0) MainFrame.Size = UDim2.fromOffset(0, 590) TweenService:Create( MainFrame, TweenInfo.new( 0.28, Enum.EasingStyle.Quart, Enum.EasingDirection.Out ), { Size = UDim2.fromOffset(280, 590) } ):Play() else TweenService:Create( MainFrame, TweenInfo.new( 0.22, Enum.EasingStyle.Quart, Enum.EasingDirection.In ), { Size = UDim2.fromOffset(0, 590) } ):Play() task.delay(0.23, function() if not panelOpen then MainFrame.Visible = false end end) end end OpenButton.MouseButton1Click:Connect(function() setPanel(not panelOpen) end) local draggingPanel = false local dragStartPanel local startPanelPosition MainFrame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then draggingPanel = true dragStartPanel = input.Position startPanelPosition = MainFrame.Position end end) UserInputService.InputChanged:Connect(function(input) if draggingPanel then if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then local delta = input.Position - dragStartPanel MainFrame.Position = UDim2.new( startPanelPosition.X.Scale, startPanelPosition.X.Offset + delta.X, startPanelPosition.Y.Scale, startPanelPosition.Y.Offset + delta.Y ) OpenButton.Position = UDim2.new( startPanelPosition.X.Scale, startPanelPosition.X.Offset - 80, startPanelPosition.Y.Scale, startPanelPosition.Y.Offset ) end end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then draggingPanel = false end end) local draggingButton = false local dragStartButton local startButtonPosition OpenButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then draggingButton = true dragStartButton = input.Position startButtonPosition = OpenButton.Position end end) UserInputService.InputChanged:Connect(function(input) if draggingButton then if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then local delta = input.Position - dragStartButton OpenButton.Position = UDim2.new( startButtonPosition.X.Scale, startButtonPosition.X.Offset + delta.X, startButtonPosition.Y.Scale, startButtonPosition.Y.Offset + delta.Y ) if panelOpen then MainFrame.Position = UDim2.new( OpenButton.Position.X.Scale, OpenButton.Position.X.Offset + 80, OpenButton.Position.Y.Scale, OpenButton.Position.Y.Offset ) end end end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then draggingButton = false end end) updateLabels() setToggle(FlyButton, FlyStroke, "FLY", false) setToggle(JumpButton, JumpStroke, "INFINITE JUMP", false) setToggle(NoclipButton, NoclipStroke, "NOCLIP", false) setToggle(AimButton, AimStroke, "AIMBOT", false) setToggle(ESPButton, ESPStroke, "ESP", false)