Back to Scripts
idk

idk

ScriptBlox
Free

Game: (Maps)laser fights(early access)

152 Views
1 Likes
0 Dislikes
Geeorge42

Geeorge42

offline

Features

uhhhh

Script Code


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()

Ratings & Reviews

No reviews yet. Be the first to review this script!

Comments (0)

Please login to comment

Login with Discord

Loading comments...