local expectedGameId = 85157449872032 -- Ожидаемый ID игры local currentGameId = game.PlaceId if currentGameId ~= expectedGameId then game.Players.LocalPlayer:Kick("You have been kicked due to an incorrect game ID.") return -- Прекращаем выполнение скрипта, если ID не совпадает end local player = game.Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui", playerGui) local frame = Instance.new("Frame", screenGui) frame.Size = UDim2.new(0.5, 0, 1, 0) frame.Position = UDim2.new(0, 0, 0, 0) frame.BackgroundColor3 = Color3.new(0, 0, 0) frame.BackgroundTransparency = 0.5 frame.Visible = true -- Убедитесь, что фрейм видим -- Кнопка ESP local espButton local espEnabled = false local function createHighlight(character) if not character:FindFirstChild("Highlight") then local highlight = Instance.new("Highlight") highlight.Parent = character highlight.FillColor = Color3.new(1, 0, 0) -- Красный цвет заполнения highlight.FillTransparency = 0.5 -- Полупрозрачность highlight.OutlineColor = Color3.new(0, 0, 0) -- Черный цвет обводки highlight.OutlineTransparency = 0 -- Непрозрачная обводка end end local function highlightPlayers() for _, otherPlayer in pairs(game.Players:GetPlayers()) do if otherPlayer.Character and otherPlayer.Character:FindFirstChildOfClass("Humanoid") then createHighlight(otherPlayer.Character) -- Подсвечиваем персонажа end end end local function removeHighlights() for _, otherPlayer in pairs(game.Players:GetPlayers()) do if otherPlayer.Character then local highlight = otherPlayer.Character:FindFirstChild("Highlight") if highlight then highlight:Destroy() -- Удаляем подсветку end end end end local function setupESPButton() espButton = Instance.new("TextButton", frame) espButton.Size = UDim2.new(0.2, 0, 0.1, 0) espButton.Position = UDim2.new(0.05, 0, 0.05, 0) espButton.Text = "ESP" espButton.BackgroundColor3 = Color3.new(0, 0, 1) espButton.MouseButton1Click:Connect(function() espEnabled = not espEnabled if espEnabled then espButton.BackgroundColor3 = Color3.new(0, 1, 0) -- Зеленый цвет, когда ESP включен highlightPlayers() -- Включаем подсветку игроков else espButton.BackgroundColor3 = Color3.new(0, 0, 1) -- Синий цвет, когда ESP выключен removeHighlights() -- Удаляем подсветку игроков end end) end -- Кнопка "Add Admin Panel" local function setupAdminPanelButton() local adminPanelButton = Instance.new("TextButton", frame) adminPanelButton.Size = UDim2.new(0.2, 0, 0.1, 0) adminPanelButton.Position = UDim2.new(0.05, 0, 0.15, 0) adminPanelButton.Text = "Add Admin Panel" adminPanelButton.BackgroundColor3 = Color3.new(0, 0, 1) adminPanelButton.MouseButton1Click:Connect(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))() adminPanelButton.BackgroundColor3 = Color3.new(0, 1, 0) end) end -- Кнопка "AC Bypass" local function setupACBypassButton() local acButton = Instance.new("TextButton", frame) acButton.Size = UDim2.new(0.2, 0, 0.1, 0) acButton.Position = UDim2.new(0.05, 0, 0.25, 0) acButton.Text = "AC Bypass" acButton.BackgroundColor3 = Color3.new(1, 0, 1) acButton.MouseButton1Click:Connect(function() -- Ничего не делаем, просто кнопка acButton.BackgroundColor3 = Color3.new(0, 1, 0) end) end -- Кнопка noclip local function setupNoclipButton(character) local noclipButton = Instance.new("TextButton", frame) noclipButton.Size = UDim2.new(0.2, 0, 0.1, 0) noclipButton.Position = UDim2.new(0.05, 0, 0.35, 0) noclipButton.Text = "noclip" noclipButton.BackgroundColor3 = Color3.new(0, 1, 0) local isNoclipOn = false noclipButton.MouseButton1Click:Connect(function() isNoclipOn = not isNoclipOn if isNoclipOn then character.HumanoidRootPart.CanCollide = false for _, part in pairs(character:GetChildren()) do if part:IsA("BasePart") then part.CanCollide = false end end else character.HumanoidRootPart.CanCollide = true for _, part in pairs(character:GetChildren()) do if part:IsA("BasePart") then part.CanCollide = true end end end end) end -- Переменные для кнопки "Speed" local function setupSpeedButton(character) local originalWalkSpeed = 16 local targetWalkSpeed = 30 -- Увеличенная скорость local speedButton = Instance.new("TextButton", frame) speedButton.Size = UDim2.new(0.2, 0, 0.1, 0) speedButton.Position = UDim2.new(0.05, 0, 0.45, 0) speedButton.Text = "Speed" speedButton.BackgroundColor3 = Color3.new(1, 0.5, 0) local isSpeedIncreased = false speedButton.MouseButton1Click:Connect(function() local humanoid = character:WaitForChild("Humanoid") if isSpeedIncreased then humanoid.WalkSpeed = originalWalkSpeed isSpeedIncreased = false speedButton.BackgroundColor3 = Color3.new(1, 0.5, 0) else humanoid.WalkSpeed = targetWalkSpeed isSpeedIncreased = true speedButton.BackgroundColor3 = Color3.new(0, 1, 0) end end) end -- Кнопка "Infinite Jumps" local function setupInfiniteJumpsButton(character) local infiniteJumpsButton = Instance.new("TextButton", frame) infiniteJumpsButton.Size = UDim2.new(0.2, 0, 0.1, 0) infiniteJumpsButton.Position = UDim2.new(0.05, 0, 0.55, 0) infiniteJumpsButton.Text = "fly" infiniteJumpsButton.BackgroundColor3 = Color3.new(1, 0, 1) local canJump = false infiniteJumpsButton.MouseButton1Click:Connect(function() canJump = not canJump if canJump then infiniteJumpsButton.BackgroundColor3 = Color3.new(0, 1, 0) else infiniteJumpsButton.BackgroundColor3 = Color3.new(1, 0, 1) end end) local function setupInfiniteJumps() local humanoid = character:WaitForChild("Humanoid") local jumpCount = 0 humanoid.Jumping:Connect(function(isJumping) if isJumping and canJump then jumpCount = jumpCount + 1 end end) humanoid.StateChanged:Connect(function(_, newState) if newState == Enum.HumanoidStateType.Freefall and jumpCount > 0 then humanoid:ChangeState(Enum.HumanoidStateType.Jumping) jumpCount = jumpCount - 1 end end) end setupInfiniteJumps() end -- Кнопка "Aim" local function setupAimButton(character) local aimButton = Instance.new("TextButton", frame) aimButton.Size = UDim2.new(0.2, 0, 0.1, 0) aimButton.Position = UDim2.new(0.05, 0, 0.65, 0) aimButton.Text = "Aim" aimButton.BackgroundColor3 = Color3.new(1, 0, 1) local aimEnabled = false aimButton.MouseButton1Click:Connect(function() aimEnabled = not aimEnabled aimButton.BackgroundColor3 = aimEnabled and Color3.new(0, 1, 0) or Color3.new(1, 0, 1) while aimEnabled do wait(0.1) -- Задержка для производительности local closestPlayer = nil local closestDistance = math.huge for _, otherPlayer in pairs(game.Players:GetPlayers()) do if otherPlayer ~= player and otherPlayer.Character and otherPlayer.Character:FindFirstChildOfClass("Humanoid") and otherPlayer.Character.Humanoid.Health > 0 then -- Проверка на команду if player.Team ~= otherPlayer.Team then local distance = (player.Character.HumanoidRootPart.Position - otherPlayer.Character.HumanoidRootPart.Position).magnitude if distance < closestDistance then closestDistance = distance closestPlayer = otherPlayer end end end end if closestPlayer then local targetPosition = closestPlayer.Character.HumanoidRootPart.Position local camera = game.Workspace.CurrentCamera local direction = (targetPosition - camera.CFrame.Position).unit camera.CFrame = CFrame.new(camera.CFrame.Position, camera.CFrame.Position + direction) end end end) end -- Кнопка "Hide" local function setupHideButton() local hideButton = Instance.new("TextButton", screenGui) hideButton.Size = UDim2.new(0.1, 0, 0.05, 0) hideButton.Position = UDim2.new(0, 0, 0, 0) hideButton.Text = "Hide" hideButton.BackgroundColor3 = Color3.new(1, 1, 0) hideButton.MouseButton1Click:Connect(function() frame.Visible = false hideButton.Visible = false local showButton = Instance.new("TextButton", screenGui) showButton.Size = UDim2.new(0.1, 0, 0.05, 0) showButton.Position = UDim2.new(0, 0, 0, 0) showButton.Text = "Show" showButton.BackgroundColor3 = Color3.new(0, 1, 1) showButton.MouseButton1Click:Connect(function() frame.Visible = true hideButton.Visible = true showButton:Destroy() end) end) end local function setupCharacter(character) setupESPButton() setupAdminPanelButton() setupACBypassButton() setupNoclipButton(character) setupSpeedButton(character) setupInfiniteJumpsButton(character) setupAimButton(character) setupHideButton() end -- Инициализация при первом запуске setupCharacter(player.Character or player.CharacterAdded:Wait()) -- Обработчик для повторной инициализации после респавна player.CharacterAdded:Connect(function(character) setupCharacter(character) frame.Visible = true -- Убедитесь, что фрейм видим после респавна end)