Key Required
OP Autobuild and Autowin Obby
Lua Script•107 lines (3157 chars)
-- Version: 0.0.1
-- Created by @squhz on Discord
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local function getPlrTeam()
return LocalPlayer.Team and LocalPlayer.Team.Name or nil
end
local function teleportPlayer(x, y, z)
local character = LocalPlayer.Character
if character and character:FindFirstChild("HumanoidRootPart") then
character.HumanoidRootPart.CFrame = CFrame.new(x, y, z)
else
print("char not found")
end
end
local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Turtle-Brand/Turtle-Lib/main/source.lua"))()
local window = library:Window("Bunker Battles")
window:Label("Autowin Buggy (is working)")
local BUNKERS = workspace.IMPORTANT.BUNKERS
local autoBuildActive = false
local autoWinActive = false
spawn(function()
while true do
if autoBuildActive then
local BunkerVersion = #BUNKERS:GetChildren()
local team = getPlrTeam() -- always get current team (Fixed old bugs)
if BunkerVersion == 2 then
if team == "Red" then
teleportPlayer(-46, 28, -252)
wait(0.5)
teleportPlayer(-106, 27, -238)
wait(0.5)
elseif team == "Blue" then
teleportPlayer(-11, 28, -250)
wait(0.5)
teleportPlayer(55, 27, -261)
wait(0.5)
end
elseif BunkerVersion == 4 then
if team == "Red" then
teleportPlayer(-20, 28, -235)
wait(0.5)
teleportPlayer(-116, 27, -181)
wait(0.5)
elseif team == "Yellow" then
teleportPlayer(-20, 28, -235)
wait(0.5)
teleportPlayer(-121, 27, -331)
wait(0.5)
elseif team == "Green" then
teleportPlayer(-20, 28, -235)
wait(0.5)
teleportPlayer(39, 27, -183)
wait(0.5)
elseif team == "Blue" then
teleportPlayer(-20, 28, -235)
wait(0.5)
teleportPlayer(35, 27, -333)
wait(0.5)
end
end
wait(0.1)
else
wait(0.1)
end
end
end)
window:Toggle("Auto-Build", false, function(bool)
autoBuildActive = bool
end)
spawn(function()
while true do
if autoWinActive then
if LocalPlayer and LocalPlayer.Character then
local winPad = workspace.Lobby.Folder.WIN
local padPos = winPad.Position
local offsetY = -1
teleportPlayer(padPos.X, padPos.Y - offsetY, padPos.Z)
end
wait(7)
else
wait(0.1)
end
end
end)
window:Toggle("Auto-Win", false, function(bool)
autoWinActive = bool
end)
window:Button("Close Menu", function()
print("menu closed")
task.wait(0.1)
library:Destroy()
end)Features & Information
(this is open-source, dont hate for lack of features (im still learning))
Auto-build
Auto-win
Community Comments (0)
No comments yet for this script.
