-- Advanced Speed Changer | Multi-Layer Anti-Cheat Bypass local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local player = Players.LocalPlayer -- Настройки local MIN_SPEED, MAX_SPEED, DEFAULT_SPEED = 16, 150, 16 local currentSpeed = DEFAULT_SPEED local humanoid = nil -- GUI Parent (совместимость со всеми эксплойтами) local guiParent = game:FindFirstChild("CoreGui") or player:WaitForChild("PlayerGui") -- === GUI === local screenGui = Instance.new("ScreenGui") screenGui.Name = "SC_" .. tostring(math.random(10000,99999)) screenGui.ResetOnSpawn = false screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling screenGui.Parent = guiParent local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 220, 0, 140) mainFrame.Position = UDim2.new(0.5, -110, 0.5, -70) mainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 30) mainFrame.BorderSizePixel = 0 mainFrame.Parent = screenGui Instance.new("UICorner", mainFrame).CornerRadius = UDim.new(0, 8) -- Top Bar (drag zone + toggle) local topBar = Instance.new("Frame") topBar.Size = UDim2.new(1, 0, 0, 28) topBar.BackgroundColor3 = Color3.fromRGB(35, 35, 42) topBar.BorderSizePixel = 0 topBar.Parent = mainFrame Instance.new("UICorner", topBar).CornerRadius = UDim.new(0, 8) local fix = Instance.new("Frame") fix.Size = UDim2.new(1, 0, 0, 5) fix.Position = UDim2.new(0, 0, 1, -5) fix.BackgroundColor3 = topBar.BackgroundColor3 fix.BorderSizePixel = 0 fix.Parent = topBar local title = Instance.new("TextLabel") title.Size = UDim2.new(1, -60, 1, 0) title.Position = UDim2.new(0, 10, 0, 0) title.BackgroundTransparency = 1 title.Text = "SPEED" title.TextColor3 = Color3.fromRGB(255, 255, 255) title.TextSize = 13 title.Font = Enum.Font.GothamBold title.TextXAlignment = Enum.TextXAlignment.Left title.Parent = topBar local toggleBtn = Instance.new("TextButton") toggleBtn.Size = UDim2.new(0, 24, 0, 24) toggleBtn.Position = UDim2.new(1, -28, 0, 2) toggleBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 60) toggleBtn.Text = "−" toggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255) toggleBtn.TextSize = 16 toggleBtn.Font = Enum.Font.GothamBold toggleBtn.Parent = topBar Instance.new("UICorner", toggleBtn).CornerRadius = UDim.new(0, 6) -- Content local content = Instance.new("Frame") content.Size = UDim2.new(1, -16, 1, -44) content.Position = UDim2.new(0, 8, 0, 36) content.BackgroundTransparency = 1 content.Parent = mainFrame -- Arrows + Input local btnMinus = Instance.new("TextButton") btnMinus.Size = UDim2.new(0, 28, 0, 28) btnMinus.Position = UDim2.new(0.5, -75, 0, 5) btnMinus.BackgroundColor3 = Color3.fromRGB(45, 45, 55) btnMinus.Text = "<" btnMinus.TextColor3 = Color3.fromRGB(200, 200, 200) btnMinus.TextSize = 14 btnMinus.Font = Enum.Font.GothamBold btnMinus.Parent = content Instance.new("UICorner", btnMinus).CornerRadius = UDim.new(0, 6) local inputBox = Instance.new("TextBox") inputBox.Size = UDim2.new(0, 80, 0, 28) inputBox.Position = UDim2.new(0.5, -40, 0, 5) inputBox.BackgroundColor3 = Color3.fromRGB(40, 40, 48) inputBox.Text = tostring(DEFAULT_SPEED) inputBox.TextColor3 = Color3.fromRGB(255, 255, 255) inputBox.TextSize = 14 inputBox.Font = Enum.Font.Gotham inputBox.ClearTextOnFocus = false inputBox.Parent = content Instance.new("UICorner", inputBox).CornerRadius = UDim.new(0, 6) local btnPlus = Instance.new("TextButton") btnPlus.Size = UDim2.new(0, 28, 0, 28) btnPlus.Position = UDim2.new(0.5, 47, 0, 5) btnPlus.BackgroundColor3 = Color3.fromRGB(45, 45, 55) btnPlus.Text = ">" btnPlus.TextColor3 = Color3.fromRGB(200, 200, 200) btnPlus.TextSize = 14 btnPlus.Font = Enum.Font.GothamBold btnPlus.Parent = content Instance.new("UICorner", btnPlus).CornerRadius = UDim.new(0, 6) -- Slider local sliderBg = Instance.new("Frame") sliderBg.Size = UDim2.new(1, 0, 0, 8) sliderBg.Position = UDim2.new(0, 0, 0, 48) sliderBg.BackgroundColor3 = Color3.fromRGB(50, 50, 60) sliderBg.BorderSizePixel = 0 sliderBg.Parent = content Instance.new("UICorner", sliderBg).CornerRadius = UDim.new(1, 0) local sliderFill = Instance.new("Frame") sliderFill.Size = UDim2.new(0, 0, 1, 0) sliderFill.BackgroundColor3 = Color3.fromRGB(0, 170, 255) sliderFill.BorderSizePixel = 0 sliderFill.Parent = sliderBg Instance.new("UICorner", sliderFill).CornerRadius = UDim.new(1, 0) local sliderKnob = Instance.new("TextButton") sliderKnob.Size = UDim2.new(0, 16, 0, 16) sliderKnob.Position = UDim2.new(0, -8, 0.5, -8) sliderKnob.BackgroundColor3 = Color3.fromRGB(255, 255, 255) sliderKnob.Text = "" sliderKnob.Parent = sliderFill Instance.new("UICorner", sliderKnob).CornerRadius = UDim.new(1, 0) local speedLabel = Instance.new("TextLabel") speedLabel.Size = UDim2.new(1, 0, 0, 20) speedLabel.Position = UDim2.new(0, 0, 0, 62) speedLabel.BackgroundTransparency = 1 speedLabel.Text = "Speed: 16" speedLabel.TextColor3 = Color3.fromRGB(180, 180, 180) speedLabel.TextSize = 12 speedLabel.Font = Enum.Font.Gotham speedLabel.Parent = content -- === Логика скорости === local function updateGUI(val) inputBox.Text = tostring(val) speedLabel.Text = "Speed: " .. val sliderFill.Size = UDim2.new((val - MIN_SPEED) / (MAX_SPEED - MIN_SPEED), 0, 1, 0) end local function setSpeed(val) val = math.clamp(math.floor(val + 0.5), MIN_SPEED, MAX_SPEED) currentSpeed = val updateGUI(val) if humanoid and humanoid.Parent then pcall(function() humanoid.WalkSpeed = val end) end end -- === Античит обход (3 слоя) === local function setupBypass() if not humanoid then return end -- Слой 1: Metatable hook — скрываем реальную скорость от читерских сканеров pcall(function() local mt = getrawmetatable(game) if not mt then return end setreadonly(mt, false) local oldIndex = mt.__index mt.__index = function(t, k) if t == humanoid and k == "WalkSpeed" then return DEFAULT_SPEED -- античит видит 16 end return oldIndex(t, k) end local oldNewIndex = mt.__newindex mt.__newindex = function(t, k, v) if t == humanoid and k == "WalkSpeed" and v ~= currentSpeed then -- Античит пытается сбросить → ставим наше значение return oldNewIndex(t, k, currentSpeed) end return oldNewIndex(t, k, v) end setreadonly(mt, true) end) end -- === Респавн === local function onCharacterAdded(char) humanoid = char:WaitForChild("Humanoid", 5) if humanoid then setupBypass() setSpeed(currentSpeed) end end if player.Character then onCharacterAdded(player.Character) end player.CharacterAdded:Connect(onCharacterAdded) -- === Слой 2: Heartbeat Enforcer === -- Постоянно восстанавливает скорость, если античит её сбросил между тиками RunService.Heartbeat:Connect(function() if humanoid and humanoid.Parent and humanoid.WalkSpeed ~= currentSpeed then pcall(function() humanoid.WalkSpeed = currentSpeed end) end end) -- === Слой 3: Stepped Enforcer (двойная страховка) === RunService.Stepped:Connect(function() if humanoid and humanoid.Parent and humanoid.WalkSpeed ~= currentSpeed then pcall(function() humanoid.WalkSpeed = currentSpeed end) end end) -- === Drag === local dragging, dragStart, startPos topBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position startPos = mainFrame.Position end end) topBar.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end end) UserInputService.InputChanged:Connect(function(input) if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then local delta = input.Position - dragStart mainFrame.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end end) -- === Свернуть / Развернуть === local isMinimized = false toggleBtn.MouseButton1Click:Connect(function() isMinimized = not isMinimized content.Visible = not isMinimized mainFrame.Size = isMinimized and UDim2.new(0, 220, 0, 28) or UDim2.new(0, 220, 0, 140) toggleBtn.Text = isMinimized and "+" or "−" end) -- === Slider (без скольжения, мгновенно) === local sliding = false local function updateSlider(input) local rel = input.Position.X - sliderBg.AbsolutePosition.X local pct = math.clamp(rel / sliderBg.AbsoluteSize.X, 0, 1) setSpeed(MIN_SPEED + pct * (MAX_SPEED - MIN_SPEED)) end sliderBg.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then sliding = true updateSlider(input) end end) sliderKnob.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then sliding = true end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then sliding = false end end) UserInputService.InputChanged:Connect(function(input) if sliding and input.UserInputType == Enum.UserInputType.MouseMovement then updateSlider(input) end end) -- === Ввод и стрелки === inputBox.FocusLost:Connect(function() local num = tonumber(inputBox.Text) if num then setSpeed(num) else inputBox.Text = tostring(currentSpeed) end end) btnMinus.MouseButton1Click:Connect(function() setSpeed(currentSpeed - 5) end) btnPlus.MouseButton1Click:Connect(function() setSpeed(currentSpeed + 5) end) -- Старт setSpeed(DEFAULT_SPEED)