Realistic street football auto dribble
Key RequiredUniversal

Realistic street football auto dribble

Universal ScriptSunny67Sunny67 1.4K views 5.8K executesUpdated Dec 8, 2025
Unrated
00
Lua Script•318 lines (10847 chars)
-- Auto Dribble Script para Realistic Street Football (Delta Executor)
-- Detecta carrinhos próximos e executa drible automaticamente

-- Verifica se está rodando no Delta
if not getgenv or not game then
    warn("Este script precisa ser executado no Delta Executor!")
    return
end

local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")

local LocalPlayer = Players.LocalPlayer

-- Aguarda o personagem carregar
repeat task.wait() until LocalPlayer.Character
local Character = LocalPlayer.Character
local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")

-- Configurações (salvando globalmente para persistência)
getgenv().AutoDribbleSettings = getgenv().AutoDribbleSettings or {
    Enabled = false,
    DetectionRange = 15,
    Cooldown = 0.8,
    DebugMode = false
}

local Settings = getgenv().AutoDribbleSettings

local lastDribbTime = 0
local ActionRemote = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("Action")

-- Criação da GUI
local function CreateGUI()
    -- Remove GUI antiga se existir
    if game:GetService("CoreGui"):FindFirstChild("AutoDribbleGUI") then
        game:GetService("CoreGui"):FindFirstChild("AutoDribbleGUI"):Destroy()
    end
    
    local ScreenGui = Instance.new("ScreenGui")
    ScreenGui.Name = "AutoDribbleGUI"
    ScreenGui.Parent = game:GetService("CoreGui")
    ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
    ScreenGui.ResetOnSpawn = false
    
    -- Frame Principal
    local MainFrame = Instance.new("Frame")
    MainFrame.Name = "MainFrame"
    MainFrame.Parent = ScreenGui
    MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
    MainFrame.BorderSizePixel = 0
    MainFrame.Position = UDim2.new(0.85, 0, 0.4, 0)
    MainFrame.Size = UDim2.new(0, 220, 0, 180)
    MainFrame.Active = true
    MainFrame.Draggable = true
    
    -- Sombra
    local Shadow = Instance.new("Frame")
    Shadow.Name = "Shadow"
    Shadow.Parent = MainFrame
    Shadow.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
    Shadow.BackgroundTransparency = 0.5
    Shadow.BorderSizePixel = 0
    Shadow.Position = UDim2.new(0, 5, 0, 5)
    Shadow.Size = UDim2.new(1, 0, 1, 0)
    Shadow.ZIndex = 0
    
    -- Borda arredondada
    local Corner = Instance.new("UICorner")
    Corner.CornerRadius = UDim.new(0, 12)
    Corner.Parent = MainFrame
    
    local CornerShadow = Instance.new("UICorner")
    CornerShadow.CornerRadius = UDim.new(0, 12)
    CornerShadow.Parent = Shadow
    
    -- Título
    local Title = Instance.new("TextLabel")
    Title.Name = "Title"
    Title.Parent = MainFrame
    Title.BackgroundTransparency = 1
    Title.Position = UDim2.new(0, 0, 0, 10)
    Title.Size = UDim2.new(1, 0, 0, 35)
    Title.Font = Enum.Font.GothamBold
    Title.Text = "⚽ AUTO DRIBBLE"
    Title.TextColor3 = Color3.fromRGB(255, 255, 255)
    Title.TextSize = 18
    
    -- Linha decorativa
    local Line = Instance.new("Frame")
    Line.Name = "Line"
    Line.Parent = MainFrame
    Line.BackgroundColor3 = Color3.fromRGB(60, 60, 80)
    Line.BorderSizePixel = 0
    Line.Position = UDim2.new(0.1, 0, 0, 50)
    Line.Size = UDim2.new(0.8, 0, 0, 2)
    
    -- Botão ON/OFF
    local ToggleButton = Instance.new("TextButton")
    ToggleButton.Name = "ToggleButton"
    ToggleButton.Parent = MainFrame
    ToggleButton.BackgroundColor3 = Settings.Enabled and Color3.fromRGB(46, 204, 113) or Color3.fromRGB(231, 76, 60)
    ToggleButton.BorderSizePixel = 0
    ToggleButton.Position = UDim2.new(0.1, 0, 0, 65)
    ToggleButton.Size = UDim2.new(0.8, 0, 0, 40)
    ToggleButton.Font = Enum.Font.GothamBold
    ToggleButton.Text = Settings.Enabled and "🟢 ATIVADO" or "🔴 DESATIVADO"
    ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
    ToggleButton.TextSize = 16
    
    local ToggleCorner = Instance.new("UICorner")
    ToggleCorner.CornerRadius = UDim.new(0, 8)
    ToggleCorner.Parent = ToggleButton
    
    -- Label de Status
    local StatusLabel = Instance.new("TextLabel")
    StatusLabel.Name = "StatusLabel"
    StatusLabel.Parent = MainFrame
    StatusLabel.BackgroundTransparency = 1
    StatusLabel.Position = UDim2.new(0, 0, 0, 115)
    StatusLabel.Size = UDim2.new(1, 0, 0, 20)
    StatusLabel.Font = Enum.Font.Gotham
    StatusLabel.Text = "📏 Alcance: " .. Settings.DetectionRange .. " studs"
    StatusLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
    StatusLabel.TextSize = 12
    
    -- Label de Cooldown
    local CooldownLabel = Instance.new("TextLabel")
    CooldownLabel.Name = "CooldownLabel"
    CooldownLabel.Parent = MainFrame
    CooldownLabel.BackgroundTransparency = 1
    CooldownLabel.Position = UDim2.new(0, 0, 0, 135)
    CooldownLabel.Size = UDim2.new(1, 0, 0, 20)
    CooldownLabel.Font = Enum.Font.Gotham
    CooldownLabel.Text = "⏱️ Cooldown: " .. Settings.Cooldown .. "s"
    CooldownLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
    CooldownLabel.TextSize = 12
    
    -- Botão Fechar
    local CloseButton = Instance.new("TextButton")
    CloseButton.Name = "CloseButton"
    CloseButton.Parent = MainFrame
    CloseButton.BackgroundColor3 = Color3.fromRGB(231, 76, 60)
    CloseButton.BorderSizePixel = 0
    CloseButton.Position = UDim2.new(0.1, 0, 0, 155)
    CloseButton.Size = UDim2.new(0.8, 0, 0, 20)
    CloseButton.Font = Enum.Font.GothamBold
    CloseButton.Text = "✕ Fechar GUI"
    CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
    CloseButton.TextSize = 11
    
    local CloseCorner = Instance.new("UICorner")
    CloseCorner.CornerRadius = UDim.new(0, 6)
    CloseCorner.Parent = CloseButton
    
    -- Função de Toggle
    ToggleButton.MouseButton1Click:Connect(function()
        Settings.Enabled = not Settings.Enabled
        
        -- Animação de cor
        local newColor = Settings.Enabled and Color3.fromRGB(46, 204, 113) or Color3.fromRGB(231, 76, 60)
        local tween = TweenService:Create(ToggleButton, TweenInfo.new(0.3), {BackgroundColor3 = newColor})
        tween:Play()
        
        ToggleButton.Text = Settings.Enabled and "🟢 ATIVADO" or "🔴 DESATIVADO"
        
        if Settings.Enabled then
            print("[Auto Dribble] ✅ Ativado!")
        else
            print("[Auto Dribble] ❌ Desativado!")
        end
    end)
    
    -- Função de Fechar
    CloseButton.MouseButton1Click:Connect(function()
        ScreenGui:Destroy()
    end)
    
    -- Animação de entrada
    MainFrame.Size = UDim2.new(0, 0, 0, 0)
    MainFrame.Position = UDim2.new(0.85, 0, 0.4, 90)
    
    local openTween = TweenService:Create(MainFrame, TweenInfo.new(0.4, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
        Size = UDim2.new(0, 220, 0, 180),
        Position = UDim2.new(0.85, 0, 0.4, 0)
    })
    openTween:Play()
    
    return ScreenGui
end

-- Função para executar o drible
local function ExecuteDribble()
    local currentTime = tick()
    
    if currentTime - lastDribbTime < Settings.Cooldown then
        return false
    end
    
    -- Proteção para garantir que o remote existe
    pcall(function()
        local args = {"Deke"}
        ActionRemote:FireServer(unpack(args))
    end)
    
    lastDribbTime = currentTime
    
    if Settings.DebugMode then
        print("[Auto Dribble] 🎯 Drible executado!")
    end
    
    return true
end

-- Função para detectar se um jogador está dando carrinho
local function IsPlayerSliding(player)
    if not player.Character then return false end
    
    local humanoid = player.Character:FindFirstChild("Humanoid")
    if not humanoid then return false end
    
    -- Detecta animações de carrinho
    local animator = humanoid:FindFirstChildOfClass("Animator")
    if animator then
        local tracks = animator:GetPlayingAnimationTracks()
        for _, track in pairs(tracks) do
            local animName = track.Animation.Name:lower()
            if animName:find("slide") or animName:find("tackle") or animName:find("diving") then
                return true
            end
        end
    end
    
    -- Detecta pela velocidade e posição
    local rootPart = player.Character:FindFirstChild("HumanoidRootPart")
    if rootPart then
        local velocity = rootPart.AssemblyLinearVelocity
        local speed = Vector3.new(velocity.X, 0, velocity.Z).Magnitude
        
        if speed > 20 and humanoid.FloorMaterial ~= Enum.Material.Air then
            return true
        end
    end
    
    return false
end

-- Função para verificar jogadores próximos
local function CheckNearbyPlayers()
    if not Settings.Enabled then return end
    if not Character or not Character.Parent then return end
    
    local myPosition = HumanoidRootPart.Position
    
    for _, player in pairs(Players:GetPlayers()) do
        if player ~= LocalPlayer and player.Character then
            local theirRoot = player.Character:FindFirstChild("HumanoidRootPart")
            
            if theirRoot then
                local distance = (myPosition - theirRoot.Position).Magnitude
                
                if distance <= Settings.DetectionRange and IsPlayerSliding(player) then
                    if Settings.DebugMode then
                        print("[Auto Dribble] 🚨 Carrinho detectado de:", player.Name, "Distância:", math.floor(distance))
                    end
                    
                    ExecuteDribble()
                    break
                end
            end
        end
    end
end

-- Reconecta quando o personagem respawna
LocalPlayer.CharacterAdded:Connect(function(newChar)
    Character = newChar
    HumanoidRootPart = newChar:WaitForChild("HumanoidRootPart")
    
    if Settings.DebugMode then
        print("[Auto Dribble] 🔄 Personagem atualizado")
    end
end)

-- Loop principal de detecção
RunService.Heartbeat:Connect(function()
    CheckNearbyPlayers()
end)

-- Criar a GUI
CreateGUI()

-- Reabrir GUI com tecla
UserInputService.InputBegan:Connect(function(input, gameProcessed)
    if gameProcessed then return end
    
    if input.KeyCode == Enum.KeyCode.RightControl then
        if game:GetService("CoreGui"):FindFirstChild("AutoDribbleGUI") then
            game:GetService("CoreGui"):FindFirstChild("AutoDribbleGUI"):Destroy()
        else
            CreateGUI()
        end
    end
end)

print("=================================")
print("⚽ Auto Dribble Script Carregado!")
print("🎮 Executor: Delta")
print("=================================")
print("✅ GUI criada com sucesso!")
print("🎯 Pressione CTRL DIREITO para abrir/fechar")
print("=================================")
print("📏 Alcance:", Settings.DetectionRange, "studs")
print("⏱️ Cooldown:", Settings.Cooldown, "segundos")
print("=================================")

Features & Information

Idk

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts