Auto win and More
Key Required

Auto win and More

Obby Leader hi_hi_hihi_hi_hi 2.3K views 317 executesUpdated Dec 4, 2025
5.0/ 5(3 votes)
30100% Positive
Lua Script•432 lines (13238 chars)
-- Tween Auto win more
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")

-- Config
local MIN_SPEED = 1
local MAX_SPEED = 5
local DEFAULT_SPEED = 3

local tweenSpeed = DEFAULT_SPEED
local currentTween = nil
local currentLeaderName = nil
local invincibleEnabled = false
local noWallsEnabled = false
local savedPosition = nil

-- Helper: get root part
local function getRoot(char)
	return char and (char:FindFirstChild("HumanoidRootPart") or char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso"))
end

-- Helper: get players by partial name
local function getPlayersByPartial(part)
	if not part or part:match("^%s*$") then return {} end
	part = part:lower()
	local results = {}
	for _, p in ipairs(Players:GetPlayers()) do
		if p ~= LocalPlayer then
			if (p.Name:lower():find(part,1,true) or (p.DisplayName or ""):lower():find(part,1,true)) then
				table.insert(results,p)
			end
		end
	end
	return results
end

-- Break velocity
local function breakVelocity()
	local char = LocalPlayer.Character
	local root = getRoot(char)
	if root and root:IsA("BasePart") then
		pcall(function()
			root.Velocity = Vector3.zero
			if root.AssemblyLinearVelocity then
				root.AssemblyLinearVelocity = Vector3.zero
			end
		end)
	end
	local humanoid = char and char:FindFirstChildOfClass("Humanoid")
	if humanoid then
		pcall(function() humanoid.PlatformStand = false end)
	end
end

-- GUI
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "TweenerCompact"
screenGui.ResetOnSpawn = false
screenGui.Parent = PlayerGui

local main = Instance.new("Frame")
main.Name = "Main"
main.Size = UDim2.new(0, 260, 0, 250)  -- Extended height for new buttons
main.Position = UDim2.new(0.35,0,0.35,0)
main.BackgroundColor3 = Color3.fromRGB(20,20,24)
main.BorderSizePixel = 0
main.Active = true
main.Draggable = true
main.Parent = screenGui
Instance.new("UICorner", main).CornerRadius = UDim.new(0,8)

-- Title row
local title = Instance.new("Frame")
title.Size = UDim2.new(1,0,0,32)
title.Position = UDim2.new(0,0,0,0)
title.BackgroundColor3 = Color3.fromRGB(30,30,34)
title.Parent = main
Instance.new("UICorner", title).CornerRadius = UDim.new(0,6)

-- Title text
local titleLabel = Instance.new("TextLabel")
titleLabel.Size = UDim2.new(0.6,0,1,0)
titleLabel.Position = UDim2.new(0,4,0,0)
titleLabel.BackgroundTransparency = 1
titleLabel.Text = " Tweenezerzy"
titleLabel.TextColor3 = Color3.fromRGB(230,230,230)
titleLabel.Font = Enum.Font.GothamBold
titleLabel.TextSize = 16
titleLabel.TextXAlignment = Enum.TextXAlignment.Left
titleLabel.Parent = title

-- Tween button next to title
local tweenBtn = Instance.new("TextButton")
tweenBtn.Size = UDim2.new(0.95,0,0.15,0)
tweenBtn.Position = UDim2.new(0.01275,3,0.325,1)
tweenBtn.Text = "Go To The Leader"
tweenBtn.Font = Enum.Font.GothamBold
tweenBtn.TextSize = 14
tweenBtn.TextColor3 = Color3.fromRGB(245,245,245)
tweenBtn.BackgroundColor3 = Color3.fromRGB(50,50,60)
tweenBtn.Parent = main
Instance.new("UICorner", tweenBtn).CornerRadius = UDim.new(0,6)

-- Close button
local closeBtn = Instance.new("TextButton")
closeBtn.Size = UDim2.new(0.1,0,1,0)
closeBtn.Position = UDim2.new(0.9,0,0,0)
closeBtn.Text = "X"
closeBtn.Font = Enum.Font.GothamBold
closeBtn.TextSize = 16
closeBtn.TextColor3 = Color3.fromRGB(245,100,100)
closeBtn.BackgroundTransparency = 1
closeBtn.Parent = title
closeBtn.MouseButton1Click:Connect(function()
	screenGui:Destroy()
end)

-- Player textbox
local playerBox = Instance.new("TextBox")
playerBox.Size = UDim2.new(1,-85,0,36)
playerBox.Position = UDim2.new(0,10,0,40)
playerBox.PlaceholderText = "Enter player name"
playerBox.Text = ""
playerBox.BackgroundColor3 = Color3.fromRGB(34,34,38)
playerBox.TextColor3 = Color3.fromRGB(235,235,235)
playerBox.Font = Enum.Font.Gotham
playerBox.TextSize = 14
playerBox.ClearTextOnFocus = false
playerBox.Parent = main
Instance.new("UICorner", playerBox).CornerRadius = UDim.new(0,6)

-- Speed frame with textbox + arrows
local speedFrame = Instance.new("Frame")
speedFrame.Size = UDim2.new(0,60,0,36)
speedFrame.Position = UDim2.new(1,-70,0,40)
speedFrame.BackgroundTransparency = 1
speedFrame.Parent = main

local speedBox = Instance.new("TextBox")
speedBox.Size = UDim2.new(1,-24,1,0)
speedBox.Position = UDim2.new(0,0,0,0)
speedBox.Text = tostring(DEFAULT_SPEED)
speedBox.BackgroundColor3 = Color3.fromRGB(34,34,38)
speedBox.TextColor3 = Color3.fromRGB(235,235,235)
speedBox.Font = Enum.Font.Gotham
speedBox.TextSize = 14
speedBox.ClearTextOnFocus = false
speedBox.Parent = speedFrame
Instance.new("UICorner", speedBox).CornerRadius = UDim.new(0,6)

local arrows = Instance.new("Frame")
arrows.Size = UDim2.new(0,20,1,0)
arrows.Position = UDim2.new(1,-20,0,0)
arrows.BackgroundTransparency = 1
arrows.Parent = speedFrame

local upBtn = Instance.new("TextButton")
upBtn.Size = UDim2.new(1,0,0.5,-1)
upBtn.Position = UDim2.new(0,0,0,0)
upBtn.Text = "▲"
upBtn.Font = Enum.Font.Gotham
upBtn.TextSize = 12
upBtn.BackgroundColor3 = Color3.fromRGB(40,40,45)
upBtn.TextColor3 = Color3.fromRGB(220,220,220)
upBtn.Parent = arrows
Instance.new("UICorner", upBtn).CornerRadius = UDim.new(0,4)

local downBtn = Instance.new("TextButton")
downBtn.Size = UDim2.new(1,0,0.5,-1)
downBtn.Position = UDim2.new(0,0,0.5,2)
downBtn.Text = "▼"
downBtn.Font = Enum.Font.Gotham
downBtn.TextSize = 12
downBtn.BackgroundColor3 = Color3.fromRGB(40,40,45)
downBtn.TextColor3 = Color3.fromRGB(220,220,220)
downBtn.Parent = arrows
Instance.new("UICorner", downBtn).CornerRadius = UDim.new(0,4)

-- Note section (Leader Display)
local noteFrame = Instance.new("Frame")
noteFrame.Size = UDim2.new(1,-20,0,35)
noteFrame.Position = UDim2.new(0,10,-0.15,240)
noteFrame.BackgroundColor3 = Color3.fromRGB(30,30,34)
noteFrame.Parent = main
Instance.new("UICorner", noteFrame).CornerRadius = UDim.new(0,6)

local leaderLabel = Instance.new("TextLabel")
leaderLabel.Size = UDim2.new(1,-40,1,0)  -- Made smaller to fit copy button
leaderLabel.Position = UDim2.new(0,5,0,0)
leaderLabel.BackgroundTransparency = 1
leaderLabel.Text = "Selecting Leader.."
leaderLabel.TextColor3 = Color3.fromRGB(200,200,200)
leaderLabel.Font = Enum.Font.Gotham
leaderLabel.TextSize = 13
leaderLabel.TextXAlignment = Enum.TextXAlignment.Left
leaderLabel.Parent = noteFrame

-- Copy button
local copyBtn = Instance.new("TextButton")
copyBtn.Size = UDim2.new(0,28,0,24)
copyBtn.Position = UDim2.new(1,-32,0.5,-12)
copyBtn.Text = "C"
copyBtn.Font = Enum.Font.GothamBold
copyBtn.TextSize = 14
copyBtn.TextColor3 = Color3.fromRGB(245,245,245)
copyBtn.BackgroundColor3 = Color3.fromRGB(50,50,60)
copyBtn.Parent = noteFrame
Instance.new("UICorner", copyBtn).CornerRadius = UDim.new(0,4)

-- Speed logic: invert so 5 = fastest
local function setSpeed(text)
	local n = tonumber(text)
	if not n then n = DEFAULT_SPEED end
	n = math.clamp(math.floor(n),MIN_SPEED,MAX_SPEED)
	tweenSpeed = n
	speedBox.Text = tostring(n)
end

upBtn.MouseButton1Click:Connect(function()
	setSpeed(tweenSpeed+1)
end)
downBtn.MouseButton1Click:Connect(function()
	setSpeed(tweenSpeed-1)
end)
speedBox.FocusLost:Connect(function()
	setSpeed(speedBox.Text)
end)

-- Tween function
local function tweenToPlayer(name)
	local targets = getPlayersByPartial(name)
	if #targets == 0 then return end
	for _, target in ipairs(targets) do
		local myRoot = getRoot(LocalPlayer.Character)
		local tgtRoot = getRoot(target.Character)
		if not myRoot or not tgtRoot then return end

		breakVelocity()
		local mappedSpeed = 0.2 + (MAX_SPEED - tweenSpeed) * 0.2 -- 1=slow (1s), 5=fast (~0.1s)
		local info = TweenInfo.new(mappedSpeed, Enum.EasingStyle.Linear)
		local goalCFrame = tgtRoot.CFrame + Vector3.new(0, 1.5, 0)

		if currentTween then
			pcall(function() currentTween:Cancel() end)
		end
		currentTween = TweenService:Create(myRoot, info, {CFrame = goalCFrame})
		currentTween:Play()
	end
end

-- Connect UI
tweenBtn.MouseButton1Click:Connect(function()
	tweenToPlayer(playerBox.Text)
end)
playerBox.FocusLost:Connect(function(enter)
	if enter then tweenToPlayer(playerBox.Text) end
end)

-- Copy button functionality
copyBtn.MouseButton1Click:Connect(function()
	if currentLeaderName then
		playerBox.Text = currentLeaderName
	end
end)

-- Toggle Invincible button
local invincibleToggle = Instance.new("TextButton")
invincibleToggle.Size = UDim2.new(0.48,0,0,32)
invincibleToggle.Position = UDim2.new(0.01,3,-0.14,160)
invincibleToggle.Text = "Become Invincible"
invincibleToggle.Font = Enum.Font.GothamBold
invincibleToggle.TextSize = 12
invincibleToggle.TextColor3 = Color3.fromRGB(245,245,245)
invincibleToggle.BackgroundColor3 = Color3.fromRGB(50,50,60)
invincibleToggle.Parent = main
Instance.new("UICorner", invincibleToggle).CornerRadius = UDim.new(0,6)

-- No Spectator Walls toggle button
local noWallsToggle = Instance.new("TextButton")
noWallsToggle.Size = UDim2.new(0.45,0,0,32)
noWallsToggle.Position = UDim2.new(0.51,3,-0.14,160)
noWallsToggle.Text = " No Spectator Walls"
noWallsToggle.Font = Enum.Font.GothamBold
noWallsToggle.TextSize = 11
noWallsToggle.TextColor3 = Color3.fromRGB(245,245,245)
noWallsToggle.BackgroundColor3 = Color3.fromRGB(50,50,60)
noWallsToggle.Parent = main
Instance.new("UICorner", noWallsToggle).CornerRadius = UDim.new(0,6)

-- Go Very Far button
local goFarBtn = Instance.new("TextButton")
goFarBtn.Size = UDim2.new(0.48,0,0,32)
goFarBtn.Position = UDim2.new(0.01,3,-0.15,200)
goFarBtn.Text = "Go Very Far"
goFarBtn.Font = Enum.Font.GothamBold
goFarBtn.TextSize = 12
goFarBtn.TextColor3 = Color3.fromRGB(245,245,245)
goFarBtn.BackgroundColor3 = Color3.fromRGB(50,50,60)
goFarBtn.Parent = main
Instance.new("UICorner", goFarBtn).CornerRadius = UDim.new(0,6)

-- Go Back button
local goBackBtn = Instance.new("TextButton")
goBackBtn.Size = UDim2.new(0.45,0,0,32)
goBackBtn.Position = UDim2.new(0.51,3,-0.15,200)
goBackBtn.Text = "Go Back"
goBackBtn.Font = Enum.Font.GothamBold
goBackBtn.TextSize = 12
goBackBtn.TextColor3 = Color3.fromRGB(245,245,245)
goBackBtn.BackgroundColor3 = Color3.fromRGB(50,50,60)
goBackBtn.Parent = main
Instance.new("UICorner", goBackBtn).CornerRadius = UDim.new(0,6)

-- Invincible toggle functionality
local function toggleInvincible()
	invincibleEnabled = not invincibleEnabled
	
	local obbyPart = workspace:FindFirstChild("ObbyPart")
	if obbyPart then
		for _, part in ipairs(obbyPart:GetDescendants()) do
			if part:IsA("BasePart") then
				local color = part.Color
				-- Check if color is 185, 0, 0 (converted to 0-1 range)
				if math.floor(color.R * 255) == 185 and math.floor(color.G * 255) == 0 and math.floor(color.B * 255) == 0 then
					part.CanTouch = not invincibleEnabled
				end
			end
		end
	end
	
	-- Update button appearance
	if invincibleEnabled then
		invincibleToggle.BackgroundColor3 = Color3.fromRGB(80,180,80)
		invincibleToggle.Text = "Invincible: ON"
	else
		invincibleToggle.BackgroundColor3 = Color3.fromRGB(50,50,60)
		invincibleToggle.Text = "Become Invincible"
	end
end

invincibleToggle.MouseButton1Click:Connect(toggleInvincible)

-- No Walls toggle functionality
local function toggleNoWalls()
	noWallsEnabled = not noWallsEnabled
	
	local walls = workspace:FindFirstChild("Walls")
	if walls then
		for _, part in ipairs(walls:GetDescendants()) do
			if part:IsA("BasePart") then
				part.CanCollide = false
			end
		end
	end
	
	-- Update button appearance
	if noWallsEnabled then
		noWallsToggle.BackgroundColor3 = Color3.fromRGB(80,180,80)
		noWallsToggle.Text = "No Walls: ON"
	else
		noWallsToggle.BackgroundColor3 = Color3.fromRGB(50,50,60)
		noWallsToggle.Text = "No Spectator Walls"
	end
end

noWallsToggle.MouseButton1Click:Connect(toggleNoWalls)

-- Go Very Far functionality
goFarBtn.MouseButton1Click:Connect(function()
	local char = LocalPlayer.Character
	local root = getRoot(char)
	local audience = workspace:FindFirstChild("Audience")
	
	if root and audience then
		-- Save current position
		savedPosition = root.CFrame
		-- Teleport to audience
		root.CFrame = audience.CFrame
	end
end)

-- Go Back functionality
goBackBtn.MouseButton1Click:Connect(function()
	local char = LocalPlayer.Character
	local root = getRoot(char)
	
	if root and savedPosition then
		root.CFrame = savedPosition
	end
end)

-- Leader detection logic
local function updateLeaderDisplay()
	local foundLeader = false
	
	for _, player in ipairs(Players:GetPlayers()) do
		if player.Character then
			local highlight = player.Character:FindFirstChild("LeaderHighlight")
			if highlight and highlight:IsA("Highlight") then
				foundLeader = true
				currentLeaderName = player.Name
				local fillColor = highlight.FillColor
				local status = ""
				
				-- Check if color is red (255, 0, 0)
				if fillColor.R == 1 and fillColor.G == 0 and fillColor.B == 0 then
					status = " (Frozen)"
				else
					status = " (Running)"
				end
				
				leaderLabel.Text = "Leader: " .. player.Name .. status
				break
			end
		end
	end
	
	if not foundLeader then
		currentLeaderName = nil
		leaderLabel.Text = "Selecting Leader.."
	end
end

-- Update leader display every 0.5 seconds
task.spawn(function()
	while screenGui and screenGui.Parent do
		updateLeaderDisplay()
		task.wait(0.5)
	end
end)

Features & Information

Go to leader, become invincible -- upunsource no spectator walls (you can start early with this) Go very far (so you cant get catched as the leader and can do anything) Leader display (you can click the C button to automatically copy leader name to the textbox up there) touching the leader may not count if the speed was too high. recommended is like 2 or 3 (THE THING NEXT TO THE TEXTBOX BTW)
#auto#win#farm#tween#troll

Community Comments (3)

Mm2XDeathHubMm2XDeathHubDec 4, 2025

Wow✅

osixgamingmcosixgamingmcJan 3, 2026

you literally f**king copied my script wtf dude

Replying to @osixgamingmc
hi_hi_hihi_hi_hiJan 3, 2026

@osixgamingmc tf are you talking about

More Scripts for Obby Leader