local player = game.Players.LocalPlayer local mouse = player:GetMouse() local gui = Instance.new("ScreenGui", player.PlayerGui) local frame = Instance.new("Frame", gui) local toggleButton = Instance.new("TextButton", gui) local noclipButton = Instance.new("TextButton", frame) local infiniteJumpButton = Instance.new("TextButton", frame) local adminPanelButton = Instance.new("TextButton", frame) local espButton = Instance.new("TextButton", frame) local aimButton = Instance.new("TextButton", frame) local godmodeButton = Instance.new("TextButton", frame) -- Кнопка для God Mode local invisibleButton = Instance.new("TextButton", frame) -- Кнопка для невидимости local flyButton = Instance.new("TextButton", frame) -- Кнопка для полета local messageLabel = Instance.new("TextLabel", gui) -- Настройки фрейма frame.Size = UDim2.new(0, 300, 0, 600) frame.Position = UDim2.new(0.5, -150, 0.5, -275) frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255) frame.Visible = true -- Настройки кнопки Hide/Show toggleButton.Size = UDim2.new(0, 100, 0, 50) toggleButton.Position = UDim2.new(0.8, 0, 0.1, 0) toggleButton.Text = "Hide/Show" toggleButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0) -- Настройки кнопок local buttonSettings = { {noclipButton, "Noclip", Color3.fromRGB(255, 0, 0), UDim2.new(0, 10, 0, 10)}, {infiniteJumpButton, "Infinite Jump", Color3.fromRGB(0, 0, 255), UDim2.new(0, 10, 0, 70)}, {adminPanelButton, "Admin Panel", Color3.fromRGB(255, 255, 0), UDim2.new(0, 10, 0, 130)}, {espButton, "ESP Players", Color3.fromRGB(0, 255, 255), UDim2.new(0, 10, 0, 190)}, {aimButton, "Farm(not full auto)", Color3.fromRGB(255, 0, 255), UDim2.new(0, 10, 0, 250)}, {godmodeButton, "God Mode", Color3.fromRGB(0, 255, 0), UDim2.new(0, 10, 0, 310)}, -- Настройки для God Mode {invisibleButton, "Invisible", Color3.fromRGB(255, 165, 0), UDim2.new(0, 10, 0, 370)}, -- Настройки для невидимости {flyButton, "Fly", Color3.fromRGB(128, 0, 128), UDim2.new(0, 10, 0, 430)} -- Настройки для полета } for _, setting in ipairs(buttonSettings) do local button = setting[1] button.Size = UDim2.new(0, 100, 0, 50) button.Position = setting[4] button.Text = setting[2] button.BackgroundColor3 = setting[3] end -- Настройки текстового поля сообщения messageLabel.Size = UDim2.new(0, 250, 0, 100) messageLabel.Position = UDim2.new(0.5, -125, 0.5, -50) messageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255) messageLabel.Text = "Pls use this script in game!" messageLabel.TextColor3 = Color3.fromRGB(255, 0, 0) messageLabel.TextScaled = true messageLabel.Visible = false -- Переменные для состояния функций local noclipEnabled = false local infiniteJumpEnabled = false local jumpConnection local espEnabled = false local aimEnabled = false local godmodeEnabled = false -- Флаг для God Mode local invisibleEnabled = false -- Флаг для невидимости local flyEnabled = false -- Флаг для полета local flyHeight = 40 -- Высота полета local flyPart -- Невидимая платформа local originalPosition -- Исходная позиция игрока -- Проверка ID игры local function checkGameID() local gameId = game.PlaceId return gameId == 85157449872032 or gameId == 85157449872032 end -- Инициализация интерфейса local function initializeGUI() frame.Visible = checkGameID() messageLabel.Visible = not frame.Visible end -- Функция для скрытия/показа фрейма с анимацией toggleButton.MouseButton1Click:Connect(function() if frame.Visible then frame:TweenPosition(UDim2.new(0.5, 300, 0.5, -275), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.5, true) wait(0.5) frame.Visible = false else frame.Visible = true frame.Position = UDim2.new(0.5, 300, 0.5, -275) -- Устанавливаем начальную позицию frame:TweenPosition(UDim2.new(0.5, -150, 0.5, -275), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.5, true) end end) -- Функция для включения/выключения noclip local function toggleNoclip() noclipEnabled = not noclipEnabled local character = player.Character or player.CharacterAdded:Wait() for _, part in pairs(character:GetChildren()) do if part:IsA("BasePart") then part.CanCollide = not noclipEnabled end end noclipButton.BackgroundColor3 = noclipEnabled and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(255, 0, 0) end -- Функция для включения/выключения бесконечных прыжков local function toggleInfiniteJumps() infiniteJumpEnabled = not infiniteJumpEnabled local userInputService = game:GetService("UserInputService") if infiniteJumpEnabled then jumpConnection = userInputService.JumpRequest:Connect(function() if player.Character and player.Character:FindFirstChildOfClass("Humanoid") then player.Character:FindFirstChildOfClass("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping) end end) infiniteJumpButton.BackgroundColor3 = Color3.fromRGB(0, 0, 255) else if jumpConnection then jumpConnection:Disconnect() jumpConnection = nil end infiniteJumpButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255) end end -- Функция для включения/выключения ESP для игроков local function toggleESP() espEnabled = not espEnabled for _, object in pairs(workspace:GetChildren()) do if object:IsA("Model") and object:FindFirstChild("Humanoid") and object.Name ~= "KOlyaname11" then local highlight = Instance.new("Highlight") highlight.Adornee = object highlight.FillColor = espEnabled and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(255, 255, 255) highlight.FillTransparency = 0.5 highlight.Parent = object end end espButton.BackgroundColor3 = espEnabled and Color3.fromRGB(0, 255, 255) or Color3.fromRGB(255, 255, 255) end -- Функция для наводки на ближайшего игрока из другой команды local function aimAtNearestPlayer() aimEnabled = not aimEnabled while aimEnabled do local closestPlayer = nil local closestDistance = math.huge for _, otherPlayer in pairs(game.Players:GetPlayers()) do if otherPlayer ~= player and otherPlayer.Team ~= player.Team and otherPlayer.Character and otherPlayer.Character:FindFirstChild("Humanoid") and otherPlayer.Character.Humanoid.Health > 0 and otherPlayer.Name ~= "KOlyaname11" then local distance = (player.Character.HumanoidRootPart.Position - otherPlayer.Character.HumanoidRootPart.Position).magnitude if distance < closestDistance then closestDistance = distance closestPlayer = otherPlayer end end end if closestPlayer then local targetPosition = closestPlayer.Character.HumanoidRootPart.Position player.Character.HumanoidRootPart.CFrame = CFrame.new(targetPosition + Vector3.new(0, 3, 0)) -- Телепортация к игроку workspace.CurrentCamera.CFrame = CFrame.new(targetPosition + Vector3.new(0, 3, 0), targetPosition) -- Фиксация камеры на игроке end wait(0.1) -- Задержка для уменьшения нагрузки end end -- Функция для включения/выключения God Mode local function toggleGodMode() godmodeEnabled = not godmodeEnabled local humanoid = player.Character and player.Character:FindFirstChildOfClass("Humanoid") if godmodeEnabled then humanoid.MaxHealth = math.huge humanoid.Health = humanoid.MaxHealth godmodeButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0) -- Цвет активированного режима else humanoid.MaxHealth = 100 -- Возвращаем максимальное здоровье на стандартное значение godmodeButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0) -- Цвет неактивированного режима end end -- Функция для включения/выключения невидимости local function toggleInvisible() invisibleEnabled = not invisibleEnabled local character = player.Character or player.CharacterAdded:Wait() for _, part in pairs(character:GetChildren()) do if part:IsA("BasePart") then part.Transparency = invisibleEnabled and 1 or 0 -- Устанавливаем прозрачность end end invisibleButton.BackgroundColor3 = invisibleEnabled and Color3.fromRGB(255, 255, 0) or Color3.fromRGB(255, 165, 0) -- Цвет активированного режима end -- Функция для включения/выключения полета local function toggleFly() local character = player.Character or player.CharacterAdded:Wait() if not flyEnabled then flyEnabled = true local humanoid = character:FindFirstChildOfClass("Humanoid") originalPosition = character.HumanoidRootPart.Position -- Сохраняем исходную позицию humanoid.WalkSpeed = 55 -- Устанавливаем скорость ходьбы -- Поднимаем игрока на заданную высоту character.HumanoidRootPart.Position = originalPosition + Vector3.new(0, flyHeight, 0) -- Создаем невидимую платформу под ногами if not flyPart then flyPart = Instance.new("Part") flyPart.Size = Vector3.new(2, 1, 2) -- Размер платформы flyPart.Transparency = 1 -- Невидимая платформа flyPart.Anchored = true flyPart.CanCollide = false flyPart.Parent = workspace end flyPart.Position = character.HumanoidRootPart.Position - Vector3.new(0, 1.5, 0) -- Позиция под ногами flyButton.BackgroundColor3 = Color3.fromRGB(0, 128, 0) -- Цвет активированного режима else flyEnabled = false local humanoid = character:FindFirstChildOfClass("Humanoid") humanoid.WalkSpeed = 16 -- Возвращаем стандартную скорость -- Возвращаем игрока на исходную позицию character.HumanoidRootPart.Position = originalPosition -- Убираем платформу из видимости if flyPart then flyPart.Position = Vector3.new(0, -1000, 0) -- Убираем платформу из видимости end flyButton.BackgroundColor3 = Color3.fromRGB(128, 0, 128) -- Цвет неактивированного режима end end -- Привязка функций к кнопкам noclipButton.MouseButton1Click:Connect(toggleNoclip) infiniteJumpButton.MouseButton1Click:Connect(toggleInfiniteJumps) adminPanelButton.MouseButton1Click:Connect(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))() end) espButton.MouseButton1Click:Connect(toggleESP) aimButton.MouseButton1Click:Connect(aimAtNearestPlayer) -- Привязка для Aimbot godmodeButton.MouseButton1Click:Connect(toggleGodMode) -- Привязка для God Mode invisibleButton.MouseButton1Click:Connect(toggleInvisible) -- Привязка для невидимости flyButton.MouseButton1Click:Connect(toggleFly) -- Привязка для полета -- Инициализация интерфейса при запуске initializeGUI()