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 -- Кнопка ESP local espButton = Instance.new("TextButton", frame) espButton.Size = UDim2.new(0.2, 0, 0.1, 0) espButton.Position = UDim2.new(0.05, 0, 0.55, 0) espButton.Text = "ESP" espButton.BackgroundColor3 = Color3.new(0, 0, 1) 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() local localPlayer = game.Players.LocalPlayer local camera = game.Workspace.CurrentCamera for _, player in pairs(game.Players:GetPlayers()) do if player.Character and player.Character:FindFirstChildOfClass("Humanoid") then if player == localPlayer and camera.CameraType == Enum.CameraType.Scriptable then -- Если это ваш персонаж и камера в режиме от первого лица, не подсвечиваем continue end createHighlight(player.Character) -- Подсвечиваем персонажа end end end 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 выключен for _, player in pairs(game.Players:GetPlayers()) do if player.Character then local highlight = player.Character:FindFirstChild("Highlight") if highlight then highlight:Destroy() -- Удаляем подсветку end end end end end) -- Кнопка fullbright local lightingButton = Instance.new("TextButton", frame) lightingButton.Size = UDim2.new(0.2, 0, 0.1, 0) lightingButton.Position = UDim2.new(0.05, 0, 0.05, 0) lightingButton.Text = "fullbright" lightingButton.BackgroundColor3 = Color3.new(1, 0, 0) local isLightingOn = false lightingButton.MouseButton1Click:Connect(function() local lighting = game:GetService("Lighting") if not isLightingOn then lighting.Brightness = 2 lighting.Ambient = Color3.new(1, 1, 1) lighting.OutdoorAmbient = Color3.new(1, 1, 1) lighting.FogEnd = 1000 lighting.TimeOfDay = "14:00" isLightingOn = true else lighting.Brightness = 1 lighting.Ambient = Color3.new(0, 0, 0) lighting.OutdoorAmbient = Color3.new(0, 0, 0) lighting.FogEnd = 0 lighting.TimeOfDay = "00:00" isLightingOn = false end end) -- Кнопка "Add Admin Panel" 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) -- Кнопка noclip local noclipButton = Instance.new("TextButton", frame) noclipButton.Size = UDim2.new(0.2, 0, 0.1, 0) noclipButton.Position = UDim2.new(0.05, 0, 0.25, 0) noclipButton.Text = "noclip" noclipButton.BackgroundColor3 = Color3.new(0, 1, 0) local isNoclipOn = false local character = player.Character or player.CharacterAdded:Wait() 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) -- Переменные для кнопки "Speed" local originalWalkSpeed = 16 local targetWalkSpeed = 50 local speedButton = Instance.new("TextButton", frame) speedButton.Size = UDim2.new(0.2, 0, 0.1, 0) speedButton.Position = UDim2.new(0.05, 0, 0.35, 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) -- Кнопка "Infinite Jumps" local infiniteJumpsButton = Instance.new("TextButton", frame) infiniteJumpsButton.Size = UDim2.new(0.2, 0, 0.1, 0) infiniteJumpsButton.Position = UDim2.new(0.05, 0, 0.45, 0) infiniteJumpsButton.Text = "Infinite Jumps" 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 player.CharacterAdded:Connect(setupInfiniteJumps) setupInfiniteJumps() -- Кнопка "Hide" 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) -- Функция для телепортации local TeleportService = game:GetService("TeleportService") local function createTeleportButton(text, position, placeId) local teleportButton = Instance.new("TextButton", frame) teleportButton.Size = UDim2.new(0.2, 0, 0.1, 0) teleportButton.Position = position teleportButton.Text = text teleportButton.BackgroundColor3 = Color3.new(0, 0, 1) teleportButton.MouseButton1Click:Connect(function() TeleportService:Teleport(placeId, player) end) end -- Кнопки для телепортации createTeleportButton("Join Chapter 1", UDim2.new(0.05, 0, 0.65, 0), 106095438603887) createTeleportButton("Join Chapter 2", UDim2.new(0.05, 0, 0.75, 0), 107334202456799) createTeleportButton("Join Chapter 3", UDim2.new(0.05, 0, 0.85, 0), 90948498459202) createTeleportButton("Join Chapter 4", UDim2.new(0.05, 0, 0.95, 0), 110825564427226) createTeleportButton("Join Chapter 5", UDim2.new(0.05, 0, 1.05, 0), 135319685277919) createTeleportButton("Join Chapter 6", UDim2.new(0.05, 0, 1.15, 0), 73444695921403) -- Уведомление сервера о том, что игрок присоединился local ReplicatedStorage = game:GetService("ReplicatedStorage") local remoteEvent = ReplicatedStorage:WaitForChild("PlayerScriptNotification") remoteEvent:FireServer(player.Name) -- Автоматически уведомляем сервер при загрузке игрока