auto win open source
Key Required

auto win open source

Don't Get Crushed By A Log!1w691w69 373 views 45 executesUpdated Jan 10, 2026
5.0/ 5(2 votes)
20100% Positive
Lua Script•280 lines (9071 chars)
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local rootPart = character:WaitForChild("HumanoidRootPart")

local winPad = Workspace:FindFirstChild("win")
if not winPad then
    warn("❌ Win pad not found!")
    return
end

local settings = {
    enabled = false,
    teleportSpeed = 0.05,
    teleportHeight = 5,
    isDragging = false,
    dragOffset = Vector2.new(0, 0),
    arabicMode = true
}

local teleportThread

local function teleportToWin()
    if not rootPart then return false end
    
    local targetPosition = winPad.Position + Vector3.new(0, settings.teleportHeight, 0)
    rootPart.CFrame = CFrame.new(targetPosition)
    return true
end

local function startAutoTeleport()
    if teleportThread then
        task.cancel(teleportThread)
    end
    
    teleportThread = task.spawn(function()
        while settings.enabled do
            teleportToWin()
            task.wait(settings.teleportSpeed)
        end
    end)
end

local playerGui = player:WaitForChild("PlayerGui")

local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "AutoTeleportUI"
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
ScreenGui.ResetOnSpawn = false
ScreenGui.Parent = playerGui

local MainFrame = Instance.new("Frame")
MainFrame.Name = "MainFrame"
MainFrame.Size = UDim2.new(0, 200, 0, 120)
MainFrame.Position = UDim2.new(0.5, -100, 0.5, -60)
MainFrame.BackgroundColor3 = Color3.fromRGB(30, 40, 30)
MainFrame.BackgroundTransparency = 0.1
MainFrame.BorderSizePixel = 0
MainFrame.Parent = ScreenGui

local MainCorner = Instance.new("UICorner")
MainCorner.CornerRadius = UDim.new(0, 10)
MainCorner.Parent = MainFrame

local TopBar = Instance.new("Frame")
TopBar.Name = "TopBar"
TopBar.Size = UDim2.new(1, 0, 0, 30)
TopBar.BackgroundTransparency = 1
TopBar.Parent = MainFrame

local DiscordLabel = Instance.new("TextLabel")
DiscordLabel.Name = "DiscordLabel"
DiscordLabel.Size = UDim2.new(0, 80, 0, 20)
DiscordLabel.Position = UDim2.new(0, 10, 0, 5)
DiscordLabel.BackgroundTransparency = 1
DiscordLabel.Text = "💎 1w69"
DiscordLabel.TextColor3 = Color3.fromRGB(180, 220, 180)
DiscordLabel.TextSize = 11
DiscordLabel.Font = Enum.Font.GothamBold
DiscordLabel.TextXAlignment = Enum.TextXAlignment.Left
DiscordLabel.Parent = TopBar

local TranslateButton = Instance.new("TextButton")
TranslateButton.Name = "TranslateButton"
TranslateButton.Size = UDim2.new(0, 60, 0, 20)
TranslateButton.Position = UDim2.new(0.5, -30, 0, 5)
TranslateButton.BackgroundColor3 = Color3.fromRGB(60, 80, 60)
TranslateButton.TextColor3 = Color3.fromRGB(255, 255, 255)
TranslateButton.Text = "English"
TranslateButton.TextSize = 11
TranslateButton.Font = Enum.Font.GothamBold
TranslateButton.AutoButtonColor = true
TranslateButton.Parent = TopBar

local TranslateCorner = Instance.new("UICorner")
TranslateCorner.CornerRadius = UDim.new(0, 5)
TranslateCorner.Parent = TranslateButton

local CloseButton = Instance.new("TextButton")
CloseButton.Name = "CloseButton"
CloseButton.Size = UDim2.new(0, 20, 0, 20)
CloseButton.Position = UDim2.new(1, -25, 0, 5)
CloseButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
CloseButton.Text = "x"
CloseButton.TextSize = 12
CloseButton.Font = Enum.Font.GothamBold
CloseButton.AutoButtonColor = true
CloseButton.Parent = TopBar

local CloseCorner = Instance.new("UICorner")
CloseCorner.CornerRadius = UDim.new(0, 5)
CloseCorner.Parent = CloseButton

local TeleportButton = Instance.new("TextButton")
TeleportButton.Name = "TeleportButton"
TeleportButton.Size = UDim2.new(1, -20, 0, 50)
TeleportButton.Position = UDim2.new(0, 10, 0, 40)
TeleportButton.BackgroundColor3 = Color3.fromRGB(0, 200, 83)
TeleportButton.TextColor3 = Color3.fromRGB(255, 255, 255)
TeleportButton.Text = "🚀 تفعيل النقل التلقائي"
TeleportButton.TextSize = 14
TeleportButton.Font = Enum.Font.GothamBold
TeleportButton.AutoButtonColor = false
TeleportButton.Parent = MainFrame

local ButtonCorner = Instance.new("UICorner")
ButtonCorner.CornerRadius = UDim.new(0, 8)
ButtonCorner.Parent = TeleportButton

local function isTouchInput(input)
    return input.UserInputType == Enum.UserInputType.Touch
end

local function isMouseInput(input)
    return input.UserInputType == Enum.UserInputType.MouseButton1
end

local function canDrag(input)
    return isTouchInput(input) or isMouseInput(input)
end

TopBar.InputBegan:Connect(function(input)
    if canDrag(input) then
        settings.isDragging = true
        settings.dragOffset = Vector2.new(
            input.Position.X - MainFrame.AbsolutePosition.X,
            input.Position.Y - MainFrame.AbsolutePosition.Y
        )
    end
end)

RunService.Heartbeat:Connect(function(input)
    if settings.isDragging and (isTouchInput(input) or input.UserInputType == Enum.UserInputType.MouseMovement) then
        MainFrame.Position = UDim2.new(
            0, input.Position.X - settings.dragOffset.X,
            0, input.Position.Y - settings.dragOffset.Y
        )
    end
end)

TopBar.InputEnded:Connect(function(input)
    if settings.isDragging and canDrag(input) then
        settings.isDragging = false
    end
end)

TopBar.Active = true

TranslateButton.MouseButton1Click:Connect(function()
    settings.arabicMode = not settings.arabicMode
    if settings.arabicMode then
        TranslateButton.Text = "English"
        TeleportButton.Text = settings.enabled and "⏹️ إيقاف النقل التلقائي" or "🚀 تفعيل النقل التلقائي"
    else
        TranslateButton.Text = "عربي"
        TeleportButton.Text = settings.enabled and "⏹️ Stop Auto Teleport" or "🚀 Start Auto Teleport"
    end
end)

TranslateButton.TouchTap:Connect(function()
    settings.arabicMode = not settings.arabicMode
    if settings.arabicMode then
        TranslateButton.Text = "English"
        TeleportButton.Text = settings.enabled and "⏹️ إيقاف النقل التلقائي" or "🚀 تفعيل النقل التلقائي"
    else
        TranslateButton.Text = "عربي"
        TeleportButton.Text = settings.enabled and "⏹️ Stop Auto Teleport" or "🚀 Start Auto Teleport"
    end
end)

CloseButton.MouseButton1Click:Connect(function()
    if settings.enabled and teleportThread then
        task.cancel(teleportThread)
    end
    ScreenGui:Destroy()
end)

CloseButton.TouchTap:Connect(function()
    if settings.enabled and teleportThread then
        task.cancel(teleportThread)
    end
    ScreenGui:Destroy()
end)

TeleportButton.MouseButton1Click:Connect(function()
    settings.enabled = not settings.enabled
    if settings.enabled then
        if settings.arabicMode then
            TeleportButton.Text = "⏹️ إيقاف النقل التلقائي"
        else
            TeleportButton.Text = "⏹️ Stop Auto Teleport"
        end
        TeleportButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
        startAutoTeleport()
    else
        if settings.arabicMode then
            TeleportButton.Text = "🚀 تفعيل النقل التلقائي"
        else
            TeleportButton.Text = "🚀 Start Auto Teleport"
        end
        TeleportButton.BackgroundColor3 = Color3.fromRGB(0, 200, 83)
        if teleportThread then
            task.cancel(teleportThread)
            teleportThread = nil
        end
    end
end)

TeleportButton.TouchTap:Connect(function()
    settings.enabled = not settings.enabled
    if settings.enabled then
        if settings.arabicMode then
            TeleportButton.Text = "⏹️ إيقاف النقل التلقائي"
        else
            TeleportButton.Text = "⏹️ Stop Auto Teleport"
        end
        TeleportButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
        startAutoTeleport()
    else
        if settings.arabicMode then
            TeleportButton.Text = "🚀 تفعيل النقل التلقائي"
        else
            TeleportButton.Text = "🚀 Start Auto Teleport"
        end
        TeleportButton.BackgroundColor3 = Color3.fromRGB(0, 200, 83)
        if teleportThread then
            task.cancel(teleportThread)
            teleportThread = nil
        end
    end
end)

TeleportButton.MouseEnter:Connect(function()
    if TeleportButton.Text == "🚀 تفعيل النقل التلقائي" or TeleportButton.Text == "🚀 Start Auto Teleport" then
        TeleportButton.BackgroundColor3 = Color3.fromRGB(0, 220, 100)
    end
end)

TeleportButton.MouseLeave:Connect(function()
    if TeleportButton.Text == "🚀 تفعيل النقل التلقائي" or TeleportButton.Text == "🚀 Start Auto Teleport" then
        TeleportButton.BackgroundColor3 = Color3.fromRGB(0, 200, 83)
    elseif TeleportButton.Text == "⏹️ إيقاف النقل التلقائي" or TeleportButton.Text == "⏹️ Stop Auto Teleport" then
        TeleportButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
    end
end)

MainFrame.Active = true
MainFrame.Draggable = true

character.Died:Connect(function()
    if settings.enabled then
        task.wait(3)
        character = player.Character or player.CharacterAdded:Wait()
        rootPart = character:WaitForChild("HumanoidRootPart")
    end
end)

Features & Information

You are free to publish or modify the script; it is open source. A script that auto takes you to victory, with support for Arabic and English languages. يحق لك نشر أو تعديل البرنامج النصي؛ فهو مفتوح المصدر. برنامج نصي ينقلك تلقائيًا إلى الفوز، مع دعم للغتين العربية والإنجليزية.

Community Comments (0)

No comments yet for this script.

More Scripts for Don't Get Crushed By A Log!